Blame SOURCES/httpd-2.4.6-apachectl-status.patch

f0c688
diff --git a/support/apachectl.in b/support/apachectl.in
f0c688
index 29c2a3e..5d53313 100644
f0c688
--- a/support/apachectl.in
f0c688
+++ b/support/apachectl.in
f0c688
@@ -116,7 +116,11 @@ configtest)
f0c688
     ;;
f0c688
 status)
f0c688
     checklynx
f0c688
+    set -o pipefail
f0c688
     $LYNX $STATUSURL | awk ' /process$/ { print; exit } { print } '
f0c688
+    if [[ $? != 0 ]] ; then
f0c688
+        ERROR=3
f0c688
+    fi
f0c688
     ;;
f0c688
 fullstatus)
f0c688
     checklynx