[cpp-sp] 09/42: Suppress output from checking whether Apache is running
Scott Cantor
cantor.2 at osu.edu
Thu Dec 20 19:44:26 EST 2018
This is an automated email from the git hooks/post-receive script.
scantor pushed a commit to annotated tag debian/2.4.2+dfsg-1
in repository cpp-sp.
View the commit online:
http://git.shibboleth.net/view/?p=cpp-sp.git;a=commit;h=9cfa745dd7f318fedb6d2935a32e5e52aeb4bb58
commit 9cfa745dd7f318fedb6d2935a32e5e52aeb4bb58
Author: Russ Allbery <rra at debian.org>
AuthorDate: Mon Nov 29 15:39:25 2010 -0800
Suppress output from checking whether Apache is running
---
debian/libapache2-mod-shib2.postinst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/debian/libapache2-mod-shib2.postinst b/debian/libapache2-mod-shib2.postinst
index 0e4cb1f..09c49d9 100755
--- a/debian/libapache2-mod-shib2.postinst
+++ b/debian/libapache2-mod-shib2.postinst
@@ -34,7 +34,7 @@ if [ "$1" = "configure" ] ; then
# The new shibd (which is about to be started) requires the corresponding
# Apache module, otherwise strange, hard to debug error messages result.
if [ -f /etc/apache2/mods-enabled/shib2.load ] ; then
- if invoke-rc.d apache2 status >/dev/null ; then
+ if invoke-rc.d apache2 status >/dev/null 2>&1 ; then
invoke-rc.d apache2 restart
fi
fi
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list