resource-agents: master - resource-agents: Fix error messages in apache.sh

Lon Hohberger lon at fedoraproject.org
Thu Oct 29 18:43:16 UTC 2009


Gitweb:        http://git.fedorahosted.org/git/resource-agents.git?p=resource-agents.git;a=commitdiff;h=bf230b3eb1cc4576a001ce173704c398a3f3cef6
Commit:        bf230b3eb1cc4576a001ce173704c398a3f3cef6
Parent:        92b73b0922265e7fc63d8ad0fea1f07a84b7fcf5
Author:        Lon Hohberger <lhh at redhat.com>
AuthorDate:    Thu Oct 29 14:40:17 2009 -0400
Committer:     Lon Hohberger <lhh at redhat.com>
CommitterDate: Thu Oct 29 14:42:55 2009 -0400

resource-agents: Fix error messages in apache.sh

Signed-off-by: Lon Hohberger <lhh at redhat.com>
---
 rgmanager/src/resources/apache.sh |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/rgmanager/src/resources/apache.sh b/rgmanager/src/resources/apache.sh
index bb225aa..ca0325f 100644
--- a/rgmanager/src/resources/apache.sh
+++ b/rgmanager/src/resources/apache.sh
@@ -62,7 +62,7 @@ verify_all()
 	fi
 
 	if [ ! -r "$APACHE_serverConfigFile" ]; then
-		clog_check_file_exist $CLOG_FAILED_NOT_READABLE "$APACHE_config_file"
+		clog_check_file_exist $CLOG_FAILED_NOT_READABLE "$APACHE_serverConfigFile"
 		return $OCF_ERR_ARGS
 	fi
 
@@ -80,11 +80,11 @@ verify_all()
 		$OCF_RESKEY_httpd_options &> /dev/null
 		
 	if [ $? -ne 0 ]; then
-		clog_check_syntax $CLOG_FAILED "$APACHE_config_file"
+		clog_check_syntax $CLOG_FAILED "$APACHE_serverConfigFile"
 		return $OCF_ERR_GENERIC
 	fi
 
-	clog_check_syntax $CLOG_SUCCEED "$APACHE_config_file"
+	clog_check_syntax $CLOG_SUCCEED "$APACHE_serverConfigFile"
 
 	return 0
 }


More information about the cluster-commits mailing list