[PATCH] testbot: Fix the "no snapshot" case in BackupVM.
Francois Gouget
fgouget at codeweavers.com
Mon Aug 19 11:24:29 CDT 2019
Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
---
testbot/scripts/BackupVM | 2 ++
1 file changed, 2 insertions(+)
diff --git a/testbot/scripts/BackupVM b/testbot/scripts/BackupVM
index 2cf3320d..071d4afa 100755
--- a/testbot/scripts/BackupVM
+++ b/testbot/scripts/BackupVM
@@ -213,6 +213,8 @@ if [ -n "$opt_snapshot" -a "$snapshots" = "/$snapdir/$opt_vm/*.xml" ]
then
error "the '$opt_vm' VM does not seem to have snapshots! Use --no-snapshot if this is expected."
exit 2
+else
+ snapshots=""
fi
# Backup the symbolic links but also their targets!
--
2.20.1
More information about the wine-devel
mailing list