From ac92f70438f01ea3c689268b9a97ff194e227088 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A9ctor=20Molinero=20Fern=C3=A1ndez?= Date: Thu, 11 Nov 2021 23:22:16 +0100 Subject: [PATCH] Sleep one more second --- scripts/bin/vmshell | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/bin/vmshell b/scripts/bin/vmshell index 6b94c09..8b1568a 100755 --- a/scripts/bin/vmshell +++ b/scripts/bin/vmshell @@ -3,7 +3,7 @@ set -eu # Wait until bind shell is available -until printf 'exit\n' | nc 127.0.0.1 5151 >/dev/null 2>&1; do sleep 1; done +until printf 'exit\n' | nc 127.0.0.1 5151 >/dev/null 2>&1; do sleep 1; done; sleep 1 if [ -t 0 ] || [ -t 1 ]; then exec rlwrap nc 127.0.0.1 5151