mirror of
https://github.com/jarun/nnn.git
synced 2024-11-24 20:01:27 +00:00
Use temporary file name to avoid race condition
This commit is contained in:
parent
935fca41f1
commit
a288553f1b
|
@ -1,4 +1,4 @@
|
|||
export NNN_TMPFILE="/tmp/nnn"
|
||||
export NNN_TMPFILE="$(mktemp -u nnn.XXXXXXXX)"
|
||||
|
||||
n()
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue