mirror of
https://github.com/netdata/netdata.git
synced 2025-04-25 21:43:55 +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"
|
||||
fi
|
||||
|
||||
if [ -x "${uninstaller}" ]; then
|
||||
if run_as_root test -x "${uninstaller}"; then
|
||||
if [ "${DRY_RUN}" -eq 1 ]; then
|
||||
progress "Would attempt to uninstall existing install with uninstaller script found at: ${uninstaller}"
|
||||
return 0
|
||||
|
|
Loading…
Add table
Reference in a new issue