From 1f07ade69b29ba73472071ce81bbe0c73b67f3a6 Mon Sep 17 00:00:00 2001
From: Remi Collet <remi@remirepo.net>
Date: Thu, 15 Mar 2018 10:15:59 +0100
Subject: make file trigger silent

---
 php.spec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'php.spec')

diff --git a/php.spec b/php.spec
index 49cc5ac..9a496ae 100644
--- a/php.spec
+++ b/php.spec
@@ -1660,7 +1660,7 @@ fi
 %if 0%{?fedora} >= 27 || 0%{?rhel} >= 8
 # Raised by new pool installation or new extension installation
 %transfiletriggerin fpm -- %{_sysconfdir}/php-fpm.d %{_sysconfdir}/php.d
-systemctl try-restart %{?scl:%{scl}-}php-fpm.service
+systemctl try-restart %{?scl:%{scl}-}php-fpm.service >/dev/null 2>&1 || :
 %endif
 
 # Handle upgrading from SysV initscript to native systemd unit.
-- 
cgit