summaryrefslogtreecommitdiffstats
path: root/netdata-installer.sh
diff options
context:
space:
mode:
Diffstat (limited to 'netdata-installer.sh')
-rwxr-xr-xnetdata-installer.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/netdata-installer.sh b/netdata-installer.sh
index c40d03473e..eba7f1be9c 100755
--- a/netdata-installer.sh
+++ b/netdata-installer.sh
@@ -52,7 +52,7 @@ _cannot_use_tmpdir() {
return "${ret}"
fi
- if /bin/echo -e '#!/bin/sh\necho SUCCESS\n' > "${testfile}" ; then
+ if printf '#!/bin/sh\necho SUCCESS\n' > "${testfile}" ; then
if chmod +x "${testfile}" ; then
if [ "$("${testfile}")" = "SUCCESS" ] ; then
ret=1