aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xkvmx6
1 files changed, 3 insertions, 3 deletions
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