From e81641608ffd0b08b8da0d1bf0546bc92d3b4088 Mon Sep 17 00:00:00 2001 From: Justin Bedo Date: Mon, 4 Mar 2019 08:37:25 +1100 Subject: qsub: fix bug --- lib/qsub.nix | 3 +-- 1 file changed, 1 insertion(+), 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 -- cgit v1.2.3