]> gitweb.fluxo.info Git - kvmx.git/commitdiff
Fix: poweroff: ensure rsync destinations are available
authorSilvio Rhatto <rhatto@riseup.net>
Tue, 5 Aug 2025 11:18:48 +0000 (08:18 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Tue, 5 Aug 2025 11:18:48 +0000 (08:18 -0300)
kvmx

diff --git a/kvmx b/kvmx
index 2f203461d93f5a799a46fa8205217e3e4f92f68c..01c9a0bc62ed73fef05de44ef7f9660924410b0d 100755 (executable)
--- a/kvmx
+++ b/kvmx
@@ -1258,6 +1258,7 @@ function kvmx_poweroff {
       fi
 
       echo "Rsyncing from guest: $poweroff_rsync_from_guest ($id)..."
+      mkdir -p $poweroff_rsync_from_guest_dest
       kvmx_rsync_from $poweroff_rsync_from_guest_orig $poweroff_rsync_from_guest_dest
 
       unset poweroff_rsync_from_guest_orig