mirror of
https://github.com/netdata/netdata.git
synced 2025-05-02 16:30:12 +00:00
fix test -x
check for uninstaller script (#16146)
fix uninstaller script `test -x` check
This commit is contained in:
parent
18e729d670
commit
062484b66a
1 changed files with 1 additions and 1 deletions
|
@ -815,7 +815,7 @@ uninstall() {
|
||||||
FLAGS="--yes"
|
FLAGS="--yes"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -x "${uninstaller}" ]; then
|
if run_as_root test -x "${uninstaller}"; then
|
||||||
if [ "${DRY_RUN}" -eq 1 ]; then
|
if [ "${DRY_RUN}" -eq 1 ]; then
|
||||||
progress "Would attempt to uninstall existing install with uninstaller script found at: ${uninstaller}"
|
progress "Would attempt to uninstall existing install with uninstaller script found at: ${uninstaller}"
|
||||||
return 0
|
return 0
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue