diff options
-rw-r--r-- | lib/qsub.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/qsub.nix b/lib/qsub.nix index 1b1ab8d..a84601c 100644 --- a/lib/qsub.nix +++ b/lib/qsub.nix @@ -16,7 +16,6 @@ TMP=$TMPDIR NIX_BUILD_TOP=$TMPDIR cd $TMPDIR - echo I am $PBS_JOBID ${builder} ${lib.escapeShellArgs args} > qsub-stdout 2> qsub-stderr echo $? > qsub-exit ''; @@ -39,6 +38,7 @@ sleep ${toString sleepTime} done id=$(cat id) + echo $id function cleanup { qdel $id 2>/dev/null || true |