mktemp now uses busybox compatible file template names
Costa Tsaousis (ktsaou) committed
Mar 18, 2017 at 23:57 UTC
249166805d7105a1f66b58dde6da15fb4ffc9524
1 file changed
+1
-1
netdata-installer.sh
+1
-1
@@ -1354,7 +1354,7 @@ if [ -t 2 ]
1354
else
1355
# we are headless
1356
# create a temporary file for the log
1357
- tmp=\$(mktemp /tmp/netdata-updater-log-XXXXXX.log)
1357
+ tmp=\$(mktemp /tmp/netdata-updater.log.XXXXXX)
1358
# open fd 3 and send it to tmp
1359
exec 3>\${tmp}
1360
fi