Index: trunk/pstamp/scripts/detectability_respond.pl
===================================================================
--- trunk/pstamp/scripts/detectability_respond.pl	(revision 28900)
+++ trunk/pstamp/scripts/detectability_respond.pl	(revision 28902)
@@ -308,4 +308,6 @@
 }
 close(WISDOM);
+
+# If there is anything that needs to be updated, create the update request list, and then exit the program.
 my $exit_code = 0;
 my $update_request_file = "${workdir}/update_request.dat";
@@ -316,4 +318,7 @@
 	    $exit_code = 25;
 	}
+	elsif ($fault != 0) {
+	    $exit_code = 21;
+	}
 	my $update_request = join ' ', @{ $update_request{$images}{$fault} };
 	print UPDATE_REQUEST "$update_request\n";
@@ -321,7 +326,7 @@
 }
 close(UPDATE_REQUEST);
-# if ($exit_code != 0) {
-#     exit($exit_code);
-# }
+if ($exit_code != 0) {
+    exit($exit_code);
+}
 
 # This duplicates stuff returned by PSTAMP, but my thought is to convert that ---^ into a conditional, in which I read
@@ -338,5 +343,4 @@
     }
 }
-#exit(10);
 
 # run ppCoord and psphotForced to calculate the required data.
