Changeset 28902
- Timestamp:
- Aug 11, 2010, 1:50:40 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/pstamp/scripts/detectability_respond.pl (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/pstamp/scripts/detectability_respond.pl
r28818 r28902 308 308 } 309 309 close(WISDOM); 310 311 # If there is anything that needs to be updated, create the update request list, and then exit the program. 310 312 my $exit_code = 0; 311 313 my $update_request_file = "${workdir}/update_request.dat"; … … 316 318 $exit_code = 25; 317 319 } 320 elsif ($fault != 0) { 321 $exit_code = 21; 322 } 318 323 my $update_request = join ' ', @{ $update_request{$images}{$fault} }; 319 324 print UPDATE_REQUEST "$update_request\n"; … … 321 326 } 322 327 close(UPDATE_REQUEST); 323 #if ($exit_code != 0) {324 #exit($exit_code);325 #}328 if ($exit_code != 0) { 329 exit($exit_code); 330 } 326 331 327 332 # This duplicates stuff returned by PSTAMP, but my thought is to convert that ---^ into a conditional, in which I read … … 338 343 } 339 344 } 340 #exit(10);341 345 342 346 # run ppCoord and psphotForced to calculate the required data.
Note:
See TracChangeset
for help on using the changeset viewer.
