summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xscripts/targetcli3
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/targetcli b/scripts/targetcli
index 1c2046f..f00bffc 100755
--- a/scripts/targetcli
+++ b/scripts/targetcli
@@ -224,8 +224,7 @@ def switch_to_daemon(shell, interactive):
inputs = []
real_exit=False
while True:
- shell.con.raw_write("%s> " %prompt_path)
- command = six.moves.input()
+ command = six.moves.input("%s> " %prompt_path)
if command.lower() == "exit":
real_exit=True
elif not command: