aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/Iurt/Process.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Iurt/Process.pm b/lib/Iurt/Process.pm
index e94a04c..3ad858d 100644
--- a/lib/Iurt/Process.pm
+++ b/lib/Iurt/Process.pm
@@ -154,7 +154,6 @@ sub handle_command_error {
dump_cache_par($run);
die "FATAL: $opt{error}.";
}
- return 0;
}
sub handle_wait_regexp {
@@ -330,6 +329,7 @@ sub perform_command {
if (!$call_ret || $kill || $err || $opt{error_regexp} && $fulloutput =~ /$opt{error_regexp}/) {
my $msg = "ERROR: call_ret=$call_ret kill=$kill err=$err ($opt{error_regexp})";
handle_command_error($run, $config, $cache, $msg, $comment, $fulloutput, %opt);
+ return 0;
}
1;
}