summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIlya Mashchenko <ilya@netdata.cloud>2024-04-26 10:45:10 +0300
committerGitHub <noreply@github.com>2024-04-26 10:45:10 +0300
commite739a3cf0eb8828ee8e45572bffcd079fa9b4480 (patch)
tree0ef1d006124a406b77ba65239e5e2172a49f50e0
parent234f4a6811c5e609a5f39fa9bc2e54a62479bcdf (diff)
fix _ndpath in detect_existing_install() (#17527)
-rwxr-xr-xpackaging/installer/kickstart.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/packaging/installer/kickstart.sh b/packaging/installer/kickstart.sh
index dc81264b66..e98baf2ca4 100755
--- a/packaging/installer/kickstart.sh
+++ b/packaging/installer/kickstart.sh
@@ -973,7 +973,7 @@ detect_existing_install() {
_ndpath="$(PATH="${searchpath}" command -v netdata 2>/dev/null)"
if [ -n "${_ndpath}" ]; then
- _ndpath="$(canonical_path "$(ndpath)")"
+ _ndpath="$(canonical_path "${_ndpath}")"
fi
if [ -z "${ndpath}" ] && [ -n "${_ndpath}" ]; then