From c476ae7cdbf16be4a141552760cb9ab12750784b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Pierret=20=28fepitre=29?= Date: Sun, 16 Jun 2019 00:37:59 +0200 Subject: [PATCH] qvm-console: handle non-default bash shell (Debian) --- misc/qvm-console | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/qvm-console b/misc/qvm-console index 29c554f..addfee3 100755 --- a/misc/qvm-console +++ b/misc/qvm-console @@ -34,5 +34,5 @@ qrexec_console() { export -f qrexec_console printf "Use '^]' to exit remote console\n" -socat file:/dev/tty,rawer,escape=0x1d SYSTEM:"qrexec_console $QREXEC_REQUESTED_TARGET" 2>/dev/null +socat file:/dev/tty,rawer,escape=0x1d EXEC:"/bin/bash -c \'qrexec_console $QREXEC_REQUESTED_TARGET 2>/dev/null\'" printf '\n'