]> gitweb.fluxo.info Git - kvmx.git/commitdiff
Fix LOG_DIR variable reference
authorSilvio Rhatto <rhatto@riseup.net>
Sat, 30 Dec 2017 23:09:31 +0000 (21:09 -0200)
committerSilvio Rhatto <rhatto@riseup.net>
Sat, 30 Dec 2017 23:09:31 +0000 (21:09 -0200)
kvmx

diff --git a/kvmx b/kvmx
index 5b6ebc5d08c17284e3dfb72611ab00895063595d..20afd02033eef3cbf59cef3a79c6fee7e3f247ed 100755 (executable)
--- a/kvmx
+++ b/kvmx
@@ -420,7 +420,7 @@ function kvmx_up {
   echo $XDMCP_PORT    > $XDMCPPORTFILE
 
   # Thanks kvm-manager code for that portion
-  /usr/bin/screen -D -m -L $LOGDIR/servicelog \
+  /usr/bin/screen -D -m -L $LOG_DIR/servicelog \
                   -c $APP_BASE/share/screen/screenrc \
                   -S "kvmx-$VM" -t "kvmx-$VM" socat STDIO,raw,echo=0 "UNIX:${CONSOLEFILE},retry=30" &