Commit cf90f238 authored by Javier Herrero's avatar Javier Herrero
Browse files

Fails when command fails

parent ace7d563
......@@ -83,7 +83,7 @@ sub fetch_input {
sub run
{
my $self = shift;
system($self->{'cmd'});
system($self->{'cmd'}) == 0 or die "system ".$self->{'cmd'}." failed: $?";
return 1;
}
......
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