xensave-issue1175.patch
src/vmm_mad/remotes/xen/save | ||
---|---|---|
22 | 22 |
deploy_id=$1 |
23 | 23 |
file=$2 |
24 | 24 | |
25 |
if [ -e $file ]; then |
|
26 |
log "Deleting old file $file" |
|
27 |
exec_and_log "sudo rm -f $file" \ |
|
28 |
"Could not delete old file $file" |
|
29 |
fi |
|
30 | ||
25 | 31 |
exec_and_log "$XM_SAVE $deploy_id $file" \ |
26 | 32 |
"Could not save $deploy_id to $file" |