Index: /trunk/tools/runbgchip.pl
===================================================================
--- /trunk/tools/runbgchip.pl	(revision 33922)
+++ /trunk/tools/runbgchip.pl	(revision 33923)
@@ -97,5 +97,10 @@
 exit 0 if $pretend;
 
-exit system $command;
+my $rc = system $command;
+my $status = $rc >> 8;
+if ($rc) {
+    print "command returned $rc $status\n";
+}
+exit $status;
 
 
Index: /trunk/tools/runwarpskycell.pl
===================================================================
--- /trunk/tools/runwarpskycell.pl	(revision 33922)
+++ /trunk/tools/runwarpskycell.pl	(revision 33923)
@@ -105,5 +105,6 @@
 exit 0 if $pretend;
 
-exit system $command;
+my $rc =  system $command;
+exit $rc >> 8;
 
 
