]> gitweb.fluxo.info Git - kvmx.git/commitdiff
Console: disable script hack as its not working on servers
authorSilvio Rhatto <rhatto@riseup.net>
Mon, 11 Jun 2018 19:43:03 +0000 (16:43 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Mon, 11 Jun 2018 19:43:03 +0000 (16:43 -0300)
kvmx

diff --git a/kvmx b/kvmx
index 75063e3a1203012d7315d414bf30786dcf6c6808..f0939849537d130bb061086b1f9e50353e4206ce 100755 (executable)
--- 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