Fix breaking the loop while creating a snapshot
This commit is contained in:
parent
38c3328aa5
commit
9993307d61
|
@ -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…
Reference in New Issue
Block a user