Skip to content

Commit

Permalink
fix exit code output masking error of embedded command in torque comm…
Browse files Browse the repository at this point in the history
…and wrapper
  • Loading branch information
ssadedin committed Oct 29, 2024
1 parent 57094ad commit 699a7eb
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion bin/bpipe-torque.sh
Original file line number Diff line number Diff line change
Expand Up @@ -216,10 +216,14 @@ $COMMAND
)
echo \$? > $JOBDIR/cmd.exit
EXIT_CODE=\$?
echo \$EXIT_CODE > $JOBDIR/cmd.exit
$POST_CMD
exit \$EXIT_CODE
HERE

echo $job_script_name
Expand Down

0 comments on commit 699a7eb

Please sign in to comment.