]> gitweb.fluxo.info Git - kvmx.git/commitdiff
Fix: startup_rsync_to_guest checks
authorSilvio Rhatto <rhatto@riseup.net>
Mon, 28 Jun 2021 22:15:11 +0000 (19:15 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Mon, 28 Jun 2021 22:15:11 +0000 (19:15 -0300)
kvmx

diff --git a/kvmx b/kvmx
index b4e7d18db9e6f07bc5f6a4d092111151b7b5f13d..7e7a31121a59045b5c6413de622d53f323d14670 100755 (executable)
--- a/kvmx
+++ b/kvmx
@@ -756,7 +756,7 @@ function kvmx_up {
       local startup_rsync_to_guest_orig="`echo $item | cut -d ':' -f 2`"
       local startup_rsync_to_guest_dest="`echo $item | cut -d ':' -f 3`"
 
-      if [ -z "$id" ] || [ -z "$poweroff_rsync_to_guest_orig" ] || [ -z "$poweroff_rsync_to_guest_dest" ]; then
+      if [ -z "$id" ] || [ -z "$startup_rsync_to_guest_orig" ] || [ -z "$startup_rsync_to_guest_dest" ]; then
         continue
       fi