]> arthur.barton.de Git - netdata.git/commitdiff
Merge pull request #1973 from ktsaou/master
authorCosta Tsaousis <costa@tsaousis.gr>
Sat, 18 Mar 2017 21:58:22 +0000 (23:58 +0200)
committerGitHub <noreply@github.com>
Sat, 18 Mar 2017 21:58:22 +0000 (23:58 +0200)
mktemp now uses busybox compatible file template names

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