diff --git a/furaffinity-dl b/furaffinity-dl index f4f6282..ebbd2f0 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 -r "$runtime_dir" + rm -r "$tempfile" } trap cleanup EXIT