diff options
author | Justin Bedo <cu@cua0.org> | 2018-12-20 15:18:46 +1100 |
---|---|---|
committer | Justin Bedo <cu@cua0.org> | 2018-12-20 15:19:21 +1100 |
commit | 4aaf973ac64e284f7408aed208debde6eb36d756 (patch) | |
tree | e1c4f66279c90160cff7827f5132d54067076ceb | |
parent | f8c01c02e4c8c331238989f3ff0fd594a60f67be (diff) |
qsub: bugfix with printing jobid for debugging
-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 |