[firewalld: 1/3] Quiet systemctl if cups-browsed.service is not installed

Jiří Popelka jpopelka at fedoraproject.org
Wed Aug 27 08:42:33 UTC 2014


commit e4cb880aa321321c3d71edeb9750da57493bdee4
Author: Orion Poplawski <orion at cora.nwra.com>
Date:   Tue Aug 26 09:59:32 2014 -0600

    Quiet systemctl if cups-browsed.service is not installed

 firewalld.spec |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
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[@]}


More information about the scm-commits mailing list