Fix breaking the loop while creating a snapshot

This commit is contained in:
Daniel Berteaud 2014-06-04 12:39:26 +02:00
parent 38c3328aa5
commit 9993307d61

View File

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