From: Don Armstrong Date: Tue, 30 Jan 2007 08:19:23 +0000 (-0800) Subject: * Output which script we're trying to run when it fails X-Git-Tag: release/2.6.0~585^2^2~31 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=39b2dc9643783a8a5b3091f657cc709079668ba1;p=debbugs.git * Output which script we're trying to run when it fails --- diff --git a/scripts/processall.in b/scripts/processall.in index 263f2ee7..326bc665 100755 --- a/scripts/processall.in +++ b/scripts/processall.in @@ -54,11 +54,11 @@ for (;;) { if ($id =~ m/^[RC]/) { print(STDOUT "[$nf] $id service ...") || die $!; defined($c=fork) || die $!; - if (!$c) { exec("$lib_path/service",$id); die $!; } + if (!$c) { exec("$lib_path/service",$id); die "unable to execute $lib_path/service: $!"; } } elsif ($id =~ m/^[BMQFDUL]/) { print(STDOUT "[$nf] $id process ...") || die $!; defined($c=fork) || die $!; - if (!$c) { exec("$lib_path/process",$id); die $!; } + if (!$c) { exec("$lib_path/process",$id); die "unable to execute $lib_path/process: $!"; } } else { die "bad name $id"; }