Skip to content
This repository has been archived by the owner on Mar 23, 2021. It is now read-only.

Commit

Permalink
Update testOSRequirements.sh
Browse files Browse the repository at this point in the history
Fix function call to logEvent for proper logging.
  • Loading branch information
MScottBlake committed Apr 13, 2016
1 parent 6e5ea4f commit 4fe6da5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions base/testOSRequirements.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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
fi

0 comments on commit 4fe6da5

Please sign in to comment.