Use temporary file name to avoid race condition

This commit is contained in:
Björn Lindström 2017-10-05 15:33:36 +07:00 committed by GitHub
parent 935fca41f1
commit a288553f1b

View file

@ -1,4 +1,4 @@
export NNN_TMPFILE="/tmp/nnn" export NNN_TMPFILE="$(mktemp -u nnn.XXXXXXXX)"
n() n()
{ {