qubes_prepare_saved_domain.sh: Check exit code of xm save
This commit is contained in:
parent
aa894b5700
commit
b578aab5d5
@ -51,7 +51,7 @@ echo MEM=$MEM
|
||||
xm mem-set $1 $(($MEM/1000))
|
||||
sleep 1
|
||||
touch $2
|
||||
xm save $1 $2
|
||||
if ! xm save $1 $2 ; then exit 1 ; fi
|
||||
cd $VMDIR
|
||||
tar -Scvf saved_cows.tar root-cow.img swap-cow.img
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user