diff --git a/wo/cli/plugins/stack.py b/wo/cli/plugins/stack.py index a09269d..bb3d07f 100644 --- a/wo/cli/plugins/stack.py +++ b/wo/cli/plugins/stack.py @@ -705,7 +705,8 @@ class WOStackController(CementBaseController): else: WOShellExec.cmd_exec(self, "bash /opt/netdata/usr/" "libexec/netdata/" - "netdata-uninstaller.sh -y -f") + "netdata-uninstaller.sh - y - f, + errormsg='', log=False) if (packages): Log.info(self, "Removing packages, please wait...") @@ -925,7 +926,8 @@ class WOStackController(CementBaseController): if WOVariables.wo_distro == 'Raspbian': WOShellExec.cmd_exec(self, "bash /usr/" "libexec/netdata/netdata-" - "uninstaller.sh -y -f") + "uninstaller.sh -y -f", + errormsg='', log=False) else: WOShellExec.cmd_exec(self, "bash /opt/netdata/usr/" "libexec/netdata/netdata-" diff --git a/wo/cli/plugins/stack_pref.py b/wo/cli/plugins/stack_pref.py index 8699d12..b9ce87e 100644 --- a/wo/cli/plugins/stack_pref.py +++ b/wo/cli/plugins/stack_pref.py @@ -1324,7 +1324,8 @@ def post_pref(self, apt_packages, packages, upgrade=False): Log.info(self, "Installing Netdata, please wait...") WOShellExec.cmd_exec(self, "bash /var/lib/wo/tmp/" "kickstart.sh " - "--dont-wait") + "--dont-wait", + errormsg='', log=False) if os.path.isdir('/etc/netdata'): wo_netdata = "/" elif os.path.isdir('/opt/netdata'):