qvm-console: handle non-default bash shell (Debian)

This commit is contained in:
Frédéric Pierret (fepitre) 2019-06-16 00:37:59 +02:00
parent 3a1f0a7b1f
commit c476ae7cdb
No known key found for this signature in database
GPG Key ID: 484010B5CDC576E2

View File

@ -34,5 +34,5 @@ qrexec_console() {
export -f qrexec_console export -f qrexec_console
printf "Use '^]' to exit remote console\n" 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' printf '\n'