aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2018-01-16 21:59:44 -0200
committerSilvio Rhatto <rhatto@riseup.net>2018-01-16 21:59:44 -0200
commit9903bf0df5dcda03ed1505bef247e84cc4a17ec4 (patch)
tree3443f298e5756c7a66c044723229ac4ad0da9df2
parent52d5282ecdfe394ea323b1cca2af4c6ec9e49fa8 (diff)
downloadkvmx-9903bf0df5dcda03ed1505bef247e84cc4a17ec4.tar.gz
kvmx-9903bf0df5dcda03ed1505bef247e84cc4a17ec4.tar.bz2
Use noup at kvmx_shell
-rwxr-xr-xkvmx4
1 files changed, 2 insertions, 2 deletions
diff --git a/kvmx b/kvmx
index 708a670..473e122 100755
--- 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