]> git.donarmstrong.com Git - debbugs.git/commitdiff
* Output which script we're trying to run when it fails
authorDon Armstrong <don@volo>
Tue, 30 Jan 2007 08:19:23 +0000 (00:19 -0800)
committerDon Armstrong <don@volo>
Tue, 30 Jan 2007 08:19:23 +0000 (00:19 -0800)
scripts/processall.in

index 263f2ee797c604634b5aaa8e162ee99bc13e9e3b..326bc6652c649d607e9e88437ebb134421101edc 100755 (executable)
@@ -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";
     }