]> arthur.barton.de Git - netdata.git/blobdiff - netdata-installer.sh
mktemp now uses busybox compatible file template names
[netdata.git] / netdata-installer.sh
index f926f14f2809ed7610673729ece7dd2fc8cdf973..72eece0aac20275075a1271b1c8fc4a1c4ed27f5 100755 (executable)
@@ -1354,7 +1354,7 @@ if [ -t 2 ]
 else
     # we are headless
     # create a temporary file for the log
-    tmp=\$(mktemp /tmp/netdata-updater-log-XXXXXX.log)
+    tmp=\$(mktemp /tmp/netdata-updater.log.XXXXXX)
     # open fd 3 and send it to tmp
     exec 3>\${tmp}
 fi