From e4cb880aa321321c3d71edeb9750da57493bdee4 Mon Sep 17 00:00:00 2001 From: Orion Poplawski Date: Tue, 26 Aug 2014 09:59:32 -0600 Subject: [PATCH] Quiet systemctl if cups-browsed.service is not installed --- firewalld.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firewalld.spec b/firewalld.spec index dc8705b..fc8898a 100644 --- a/firewalld.spec +++ b/firewalld.spec @@ -81,7 +81,7 @@ desktop-file-install --delete-original \ # on upgrade allow ipp-client service in active home/internal/work # if cups-browsed service is enabled to not break someones printing (RHBZ#1105639) -systemctl -q is-enabled cups-browsed +systemctl -q is-enabled cups-browsed &>/dev/null if [[ "$?" -eq 0 && "$1" -eq 2 ]]; then ZONES=( 'home' 'internal' 'work' ) N_ZONES=${#ZONES[@]}