Fix breaking the loop while creating a snapshot

tags/virt-backup-0.2.12-1 0.2.5_el5
Daniel Berteaud 11 years ago
parent 38c3328aa5
commit 9993307d61
  1. 2
      virt-backup

@ -797,7 +797,7 @@ sub create_snapshot{
print SNAPLIST $blk.$suffix ."\n"; print SNAPLIST $blk.$suffix ."\n";
close SNAPLIST; close SNAPLIST;
# break the loop now # break the loop now
$cnt = 10; $cnt = 30;
} }
else{ else{
print "An error occured, couldn't create the snapshot\n" if $opts{debug}; print "An error occured, couldn't create the snapshot\n" if $opts{debug};

Loading…
Cancel
Save