See user list. Thread "[Linux-HA] Apache failover / renaming the binary"

Regards
Dominik
exporting patch:
# HG changeset patch
# User Dominik Klein <[EMAIL PROTECTED]>
# Date 1215066469 -7200
# Node ID 94c262e9af4978ffe6be49f3bcb079750e3ec1a6
# Parent  412d1b01469463510ad3b61efb58f1dc4b77f257
Medium: RA: Fix apache returncode

diff -r 412d1b014694 -r 94c262e9af49 resources/OCF/apache
--- a/resources/OCF/apache	Thu Jun 26 09:56:58 2008 +0200
+++ b/resources/OCF/apache	Thu Jul 03 08:27:49 2008 +0200
@@ -515,7 +515,7 @@ validate_all_apache() {
   fi
   if [ ! -x $HTTPD ]; then
 	ocf_log err "HTTPD $HTTPD not found or is not an executable!"
-	exit $OCF_ERR_ARGS
+	exit $OCF_ERR_INSTALLED
   fi
   if [ ! -f $CONFIGFILE ]; then
 # We are sure to succeed here, since we have parsed $CONFIGFILE before getting here
_______________________________________________________
Linux-HA-Dev: Linux-HA-Dev@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/

Reply via email to