From 088f12e8d4b201dae20de47974b8b2c2f1cabbc0 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Mon, 11 Jun 2018 15:03:13 -0300 Subject: Shell: disown fix --- kvmx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'kvmx') diff --git a/kvmx b/kvmx index 35944c7..9650d01 100755 --- a/kvmx +++ b/kvmx @@ -1741,15 +1741,15 @@ function kvmx_shell { # Process command, disown version, stdout are preserved $APP_BASE/kvmx ${STDIN[0]} $VM ${STDIN[@]:1} & - disown + disown -h fi else # Process command, nohup version - nohup $APP_BASE/kvmx ${STDIN[0]} $VM ${STDIN[@]:1} + #nohup $APP_BASE/kvmx ${STDIN[0]} $VM ${STDIN[@]:1} # Process command, disown version $APP_BASE/kvmx ${STDIN[0]} $VM ${STDIN[@]:1} & - disown + disown -h fi fi done -- cgit v1.2.3