aboutsummaryrefslogtreecommitdiff
path: root/kvmx
diff options
context:
space:
mode:
Diffstat (limited to 'kvmx')
-rwxr-xr-xkvmx7
1 files changed, 1 insertions, 6 deletions
diff --git a/kvmx b/kvmx
index 1a06c4a..9203e64 100755
--- a/kvmx
+++ b/kvmx
@@ -411,12 +411,7 @@ function kvmx_up {
echo $XDMCP_PORT > $XDMCPPORTFILE
# Thanks kvm-manager code for that portion
- local screen_log_args=-L
- if dpkg --compare-versions "$screen_version" ge 4.05; then
- screen_log_args="-L $DATADIR/servicelog"
- fi
-
- /usr/bin/screen -D -m $screen_log_args \
+ /usr/bin/screen -D -m -L $LOGDIR/servicelog \
-c $DIRNAME/share/screen/screenrc \
-S "kvmx-$VM" -t "kvmx-$VM" socat STDIO,raw,echo=0 "UNIX:${CONSOLEFILE},retry=30" &