Skip to content

Commit 2384f1e

Browse files
MiauwkeruSchamper
andauthored
Update dissect/target/tools/shell.py
Co-authored-by: Erik Schamper <1254028+Schamper@users.noreply.github.com>
1 parent b28fc72 commit 2384f1e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dissect/target/tools/shell.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,7 @@ def __init__(self, target: Target):
358358
if "{cwd}" in ps1 and "{base}" in ps1:
359359
self.prompt_ps1 = ps1
360360
else:
361-
self.target.log.warning("Error {cwd} and {base} was not set inside PS1, using the default prompt.")
361+
self.target.log.warning("{cwd} and {base} were not set inside PS1, using the default prompt")
362362

363363
elif getattr(target._config, "NO_COLOR", None) or os.getenv("NO_COLOR"):
364364
self.prompt_ps1 = "{base}:{cwd}$ "

0 commit comments

Comments
 (0)