Changeset 28224
- Timestamp:
- Jun 4, 2010, 2:22:12 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/pstamp/scripts/pstamp_parser_run.pl (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/pstamp/scripts/pstamp_parser_run.pl
r27897 r28224 198 198 $parse_cmd .= " --verbose" if $verbose; 199 199 200 my $newState = "run";200 my $newState; 201 201 my $fault; 202 202 { … … 224 224 } 225 225 226 unless ($success) { 226 if ($success) { 227 $newState = 'run'; 228 } else { 227 229 $fault = $error_code >> 8; 228 # $newState = "stop";229 230 } 230 231 } … … 234 235 # 235 236 { 236 my $command = "$pstamptool -updatereq -req_id $req_id -set_state $newState"; 237 my $command = "$pstamptool -updatereq -req_id $req_id"; 238 $command .= " -set_state $newState" if $newState; 237 239 $command .= " -set_outdir $outdir"; 238 240 $command .= " -set_reqType $reqType" if $reqType;
Note:
See TracChangeset
for help on using the changeset viewer.
