diff options
author | Costa Tsaousis (ktsaou) <costa@tsaousis.gr> | 2018-01-03 07:53:52 +0200 |
---|---|---|
committer | Costa Tsaousis (ktsaou) <costa@tsaousis.gr> | 2018-01-03 07:53:52 +0200 |
commit | 1865a223adf1f387db02c9eb3ed23a98377e8d3c (patch) | |
tree | 08477b8356f7c6bf7dc8c037239afc3f2af6ac58 /netdata-installer.sh | |
parent | 19b65f376b0806fc24e928188f8a8bb03e6f58fd (diff) |
work-around macos find adding double slashes if the directory ends with a slash
Diffstat (limited to 'netdata-installer.sh')
-rwxr-xr-x | netdata-installer.sh | 2 |
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 |