Commit 9a683d64 authored by Matthieu Muffato's avatar Matthieu Muffato
Browse files

Added a "skip_dump" parameter to ease the restoration of a dump

parent ec736411
...@@ -117,8 +117,10 @@ sub run { ...@@ -117,8 +117,10 @@ sub run {
); );
print "$cmd\n" if $self->debug; print "$cmd\n" if $self->debug;
if(my $return_value = system($cmd)) { unless (param('skip_dump')) {
die "system( $cmd ) failed: $return_value"; if(my $return_value = system($cmd)) {
die "system( $cmd ) failed: $return_value";
}
} }
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment