mirror of
https://github.com/Radiquum/furaffinity-dl.git
synced 2025-04-06 00:04:38 +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)"
|
tempfile="$(umask u=rwx,g=,o= && mktemp --tmpdir=$runtime_dir)"
|
||||||
|
|
||||||
cleanup() {
|
cleanup() {
|
||||||
rm -r "$runtime_dir"
|
rm -r "$tempfile"
|
||||||
}
|
}
|
||||||
trap cleanup EXIT
|
trap cleanup EXIT
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue