mirror of
https://github.com/Radiquum/furaffinity-dl.git
synced 2025-04-09 01:34:38 +00:00
Don't use suffix with mktemp, close #63
This commit is contained in:
parent
1f87e043bf
commit
097a5cdf0f
1 changed files with 1 additions and 1 deletions
|
@ -90,7 +90,7 @@ cleanup() {
|
|||
mkdir -p -- "$outdir"
|
||||
|
||||
# Setup temporarily file with 600 perms
|
||||
tempfile="$(umask u=rwx,g=,o= && mktemp --suffix=_fa-dl)"
|
||||
tempfile="$(umask u=rwx,g=,o= && mktemp)"
|
||||
|
||||
# Call cleanup function on exit
|
||||
trap cleanup EXIT
|
||||
|
|
Loading…
Add table
Reference in a new issue