Skip to content

Commit 30331be

Browse files
MiauwkeruSchamper
andcommitted
Update dissect/target/tools/shell.py
Co-authored-by: Erik Schamper <1254028+Schamper@users.noreply.github.com>
1 parent 0e3f7fd commit 30331be

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
@@ -409,7 +409,7 @@ def __init__(self, target: Target):
409409
if "{cwd}" in ps1 and "{base}" in ps1:
410410
self.prompt_ps1 = ps1
411411
else:
412-
self.target.log.warning("Error {cwd} and {base} was not set inside PS1, using the default prompt.")
412+
self.target.log.warning("{cwd} and {base} were not set inside PS1, using the default prompt")
413413

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

0 commit comments

Comments
 (0)