We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b28fc72 commit 2384f1eCopy full SHA for 2384f1e
dissect/target/tools/shell.py
@@ -358,7 +358,7 @@ def __init__(self, target: Target):
358
if "{cwd}" in ps1 and "{base}" in ps1:
359
self.prompt_ps1 = ps1
360
else:
361
- self.target.log.warning("Error {cwd} and {base} was not set inside PS1, using the default prompt.")
+ self.target.log.warning("{cwd} and {base} were not set inside PS1, using the default prompt")
362
363
elif getattr(target._config, "NO_COLOR", None) or os.getenv("NO_COLOR"):
364
self.prompt_ps1 = "{base}:{cwd}$ "
0 commit comments