From bc06ff18e51f2cc43f8842de5748fc7b53c26393 Mon Sep 17 00:00:00 2001 From: Dirk Goetz Date: Mon, 15 Aug 2016 13:15:56 +0200 Subject: [PATCH] Mute chcon during safe-reload Removes the error message on systems with SELinux enabled but without icinga2 policy. fixes #11648 --- etc/initsystem/safe-reload | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/initsystem/safe-reload b/etc/initsystem/safe-reload index afacc9e45..2fd44b73d 100644 --- a/etc/initsystem/safe-reload +++ b/etc/initsystem/safe-reload @@ -14,7 +14,7 @@ OUTPUTFILE=`mktemp` if type selinuxenabled >/dev/null 2>&1; then if selinuxenabled; then - chcon -t icinga2_tmp_t $OUTPUTFILE + chcon -t icinga2_tmp_t $OUTPUTFILE >/dev/null 2>&1 fi fi