From 697017619877106c21884aac72fb392e392db96b Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Mon, 11 Jun 2018 16:43:03 -0300 Subject: Console: disable script hack as its not working on servers --- kvmx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'kvmx') diff --git a/kvmx b/kvmx index 75063e3..f093984 100755 --- a/kvmx +++ b/kvmx @@ -1667,9 +1667,10 @@ function kvmx_console { # Script hack, useful for servers when using su before attaching to a console # See https://serverfault.com/questions/116775/sudo-as-different-user-and-running-screen - #script /dev/null - #screen -x kvmx-$VM - script -q -c "screen -x kvmx-$VM" /dev/null + #script /dev/null && screen -x kvmx-$VM + #script -q -c "screen -x kvmx-$VM" /dev/null + + screen -x kvmx-$VM } # Alias to console -- cgit v1.2.3