@cryptotaxi247 / netdata-1 / commits / e739a3cf0

fix _ndpath in detect_existing_install() (#17527)

Ilya Mashchenko committed Apr 26, 2024 at 10:45 UTC e739a3cf0eb8828ee8e45572bffcd079fa9b4480
1 file changed +1 -1
packaging/installer/kickstart.sh
+1 -1
@@ -973,7 +973,7 @@ detect_existing_install() {
973 _ndpath="$(PATH="${searchpath}" command -v netdata 2>/dev/null)"
974
975 if [ -n "${_ndpath}" ]; then
976 - _ndpath="$(canonical_path "$(ndpath)")"
976 + _ndpath="$(canonical_path "${_ndpath}")"
977 fi
978
979 if [ -z "${ndpath}" ] && [ -n "${_ndpath}" ]; then