From 3a939ad5871c16e1b6df867656a5ba875d194cbb Mon Sep 17 00:00:00 2001 From: "Sergey \"Shnatsel\" Davidoff" Date: Sat, 20 Aug 2016 03:59:55 +0300 Subject: [PATCH] Actually delete the runtime dir --- furaffinity-dl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/furaffinity-dl b/furaffinity-dl index 848d9a1..f4f6282 100755 --- a/furaffinity-dl +++ b/furaffinity-dl @@ -20,7 +20,7 @@ mkdir -p "$runtime_dir" tempfile="$(umask u=rwx,g=,o= && mktemp --tmpdir=$runtime_dir)" cleanup() { - rm -f "$runtime_dir" + rm -r "$runtime_dir" } trap cleanup EXIT