summaryrefslogtreecommitdiffstats
path: root/netdata-installer.sh
diff options
context:
space:
mode:
authorCosta Tsaousis (ktsaou) <costa@tsaousis.gr>2018-01-03 07:53:52 +0200
committerCosta Tsaousis (ktsaou) <costa@tsaousis.gr>2018-01-03 07:53:52 +0200
commit1865a223adf1f387db02c9eb3ed23a98377e8d3c (patch)
tree08477b8356f7c6bf7dc8c037239afc3f2af6ac58 /netdata-installer.sh
parent19b65f376b0806fc24e928188f8a8bb03e6f58fd (diff)
work-around macos find adding double slashes if the directory ends with a slash
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 356eb4e4f6..41fc856abc 100755
--- a/netdata-installer.sh
+++ b/netdata-installer.sh
@@ -557,7 +557,7 @@ config_signature_matches() {
# backup user configurations
installer_backup_suffix="${PID}.${RANDOM}"
-for x in $(find -L "${NETDATA_PREFIX}/etc/netdata/" -name '*.conf' -type f)
+for x in $(find -L "${NETDATA_PREFIX}/etc/netdata" -name '*.conf' -type f)
do
if [ -f "${x}" ]
then