diff options
-rw-r--r-- | lib/qsub.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/qsub.nix b/lib/qsub.nix index 235aa80..7984b9d 100644 --- a/lib/qsub.nix +++ b/lib/qsub.nix @@ -49,6 +49,7 @@ with lib; function cleanup { qdel $id 2>/dev/null || true sleep ${toString sleepTime} + cd / rm -rf ${tmpDir}/$id } trap cleanup INT TERM EXIT |