We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 69fa3e0 commit 30d0d34Copy full SHA for 30d0d34
src/psij/executors/batch/pbs/pbspro.mustache
@@ -78,5 +78,5 @@ _PSIJ_JOB_EC=$?
78
{{> cleanup}}
79
80
{{!we redirect to a file tied to the native ID so that we can reach the file with attach().}}
81
-echo "$?" > "{{psij.script_dir}}/$PBS_JOBID.ec"
+echo $_PSIJ_JOB_EC > "{{psij.script_dir}}/$PBS_JOBID.ec"
82
echo "_PSIJ_SCRIPT_DONE"
0 commit comments