mirror of
https://github.com/Radiquum/furaffinity-dl.git
synced 2025-04-05 07:44:37 +00:00
Fixed regression: made it safe to run the script in parallel again
This commit is contained in:
parent
3a939ad587
commit
330c007ef1
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue