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