summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--php.spec2
1 files changed, 1 insertions, 1 deletions
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.