diff options
author | Justin Bedo <cu@cua0.org> | 2019-03-04 08:37:25 +1100 |
---|---|---|
committer | Justin Bedo <cu@cua0.org> | 2019-03-04 08:37:25 +1100 |
commit | e81641608ffd0b08b8da0d1bf0546bc92d3b4088 (patch) | |
tree | 08ae146a6cf582004de1ab22dc63ef58091f9a17 | |
parent | 3530396ec646a5c9c5f69e1e8dccc93f3744d114 (diff) |
qsub: fix bug
-rw-r--r-- | lib/qsub.nix | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/qsub.nix b/lib/qsub.nix index 7984b9d..6b40431 100644 --- a/lib/qsub.nix +++ b/lib/qsub.nix @@ -49,8 +49,7 @@ with lib; function cleanup { qdel $id 2>/dev/null || true sleep ${toString sleepTime} - cd / - rm -rf ${tmpDir}/$id + rm -rf ${tmpDir}/qsub-$id } trap cleanup INT TERM EXIT |