From 292a5c5472687e3472910d3798fcc1f685ff198d Mon Sep 17 00:00:00 2001 From: bryan Date: Wed, 24 Nov 2021 14:56:40 -0500 Subject: [PATCH] Make less noisy --- installJRMC | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/installJRMC b/installJRMC index 186b73a..878e588 100755 --- a/installJRMC +++ b/installJRMC @@ -1154,10 +1154,10 @@ uninstall() { echo "Stopping and removing all associated Media Center services" for _service in $(compgen -A "function" "service"); do setServiceVars "$_service" - if systemctl is-active "$_timer_name" || systemctl is-enabled "$_timer_name"; then + if systemctl is-active -q "$_timer_name" || systemctl is-enabled -q "$_timer_name"; then systemctl_disable "$_timer_name" fi - if systemctl is-active "$_service_name" || systemctl is-enabled "$_service_name"; then + if systemctl is-active -q "$_service_name" || systemctl is-enabled -q "$_service_name"; then systemctl_disable "$_service_name" fi [[ -f "$_service_fname" ]] && rm_cmd "$_service_fname"