]> arthur.barton.de Git - netdata.git/commitdiff
mktemp now uses busybox compatible file template names
authorCosta Tsaousis (ktsaou) <costa@tsaousis.gr>
Sat, 18 Mar 2017 21:57:13 +0000 (23:57 +0200)
committerCosta Tsaousis (ktsaou) <costa@tsaousis.gr>
Sat, 18 Mar 2017 21:57:13 +0000 (23:57 +0200)
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