From 4fe6da5941d348d6e14573f501ed487b42cee61a Mon Sep 17 00:00:00 2001 From: Scott Blake Date: Wed, 13 Apr 2016 18:09:11 -0400 Subject: [PATCH] Update testOSRequirements.sh Fix function call to logEvent for proper logging. --- base/testOSRequirements.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/base/testOSRequirements.sh b/base/testOSRequirements.sh index 2be5b57..06ac9d3 100755 --- a/base/testOSRequirements.sh +++ b/base/testOSRequirements.sh @@ -35,7 +35,7 @@ case "$(readlink /etc/system-release)" in ;; "redhat-release") if yum repolist | grep repolist | grep -q ': 0'; then - logevent "This system is does not have any available repositories." + logEvent "This system is does not have any available repositories." failedAnyChecks=1 fi detectedOS="RedHat" @@ -48,4 +48,4 @@ fi if [ "${detectedOS}" != 'Ubuntu' ] && [ "${detectedOS}" != 'RedHat' ] && [ "${detectedOS}" != 'CentOS' ]; then logEvent "Error: Did not detect a valid Ubuntu/RedHat/Cent OS install." failedAnyChecks=1 -fi \ No newline at end of file +fi