]> gitweb.fluxo.info Git - kvmx.git/commitdiff
Use noup at kvmx_shell
authorSilvio Rhatto <rhatto@riseup.net>
Tue, 16 Jan 2018 23:59:44 +0000 (21:59 -0200)
committerSilvio Rhatto <rhatto@riseup.net>
Tue, 16 Jan 2018 23:59:44 +0000 (21:59 -0200)
kvmx

diff --git a/kvmx b/kvmx
index 708a670206220547170e8223dffddca71acb4403..473e1227d158889c9b73e8003d8e037ebc09cea1 100755 (executable)
--- a/kvmx
+++ b/kvmx
@@ -1682,11 +1682,11 @@ function kvmx_shell {
           echo "Allowed commands are only `echo $restricted_actions | tr ':' ' '`"
         else
           # Process command
-          $APP_BASE/kvmx ${STDIN[0]} $VM ${STDIN[@]:1}
+          nohup $APP_BASE/kvmx ${STDIN[0]} $VM ${STDIN[@]:1}
         fi
       else
         # Process command
-        $APP_BASE/kvmx ${STDIN[0]} $VM ${STDIN[@]:1}
+        nohup $APP_BASE/kvmx ${STDIN[0]} $VM ${STDIN[@]:1}
       fi
     fi
   done