qvm-console: handle non-default bash shell (Debian)
This commit is contained in:
parent
3a1f0a7b1f
commit
c476ae7cdb
@ -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'
|
||||||
|
Loading…
Reference in New Issue
Block a user