From: Marius Gavrilescu Date: Fri, 31 Jan 2014 13:19:16 +0000 (+0200) Subject: Exit 42 if execing gruntmaster-exec fails in Gruntmaster::Format X-Git-Tag: 5999.000_001~21 X-Git-Url: http://git.ieval.ro/?a=commitdiff_plain;h=89edda8249e7e8f538f73863efc28135804e629a;p=gruntmaster-daemon.git Exit 42 if execing gruntmaster-exec fails in Gruntmaster::Format --- diff --git a/lib/Gruntmaster/Daemon/Format.pm b/lib/Gruntmaster/Daemon/Format.pm index 5f34a33..8e895c0 100644 --- a/lib/Gruntmaster/Daemon/Format.pm +++ b/lib/Gruntmaster/Daemon/Format.pm @@ -67,6 +67,7 @@ sub mkrun{ } } exec 'gruntmaster-exec', $args{mlimit} // 0, $args{olimit} // 0, command_and_args($format, $basename), exists $args{args} ? @{$args{args}} : (); + exit 42 } } }