From: Silvio Rhatto Date: Mon, 11 Jun 2018 19:43:03 +0000 (-0300) Subject: Console: disable script hack as its not working on servers X-Git-Tag: 0.1.0~249 X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=697017619877106c21884aac72fb392e392db96b;p=kvmx.git Console: disable script hack as its not working on servers --- 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