diff options
author | Ilya Mashchenko <ilya@netdata.cloud> | 2024-04-26 10:45:10 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-26 10:45:10 +0300 |
commit | e739a3cf0eb8828ee8e45572bffcd079fa9b4480 (patch) | |
tree | 0ef1d006124a406b77ba65239e5e2172a49f50e0 | |
parent | 234f4a6811c5e609a5f39fa9bc2e54a62479bcdf (diff) |
fix _ndpath in detect_existing_install() (#17527)
-rwxr-xr-x | packaging/installer/kickstart.sh | 2 |
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 |