Changed text for Redis test

This commit is contained in:
Michael Boelen 2016-08-14 20:43:05 +02:00
parent f0a957642b
commit bf7b8ab44e
1 changed files with 3 additions and 3 deletions

View File

@ -197,13 +197,13 @@
if [ ! -z "${FILES}" ]; then
for CONFFILE in ${FILES}; do
if FileIsReadable ${CONFFILE}; then
LogText "Action: checking if ${CONFFILE} this is a Sentinel configuration file"
LogText "Action: checking if ${CONFFILE} is a Sentinel configuration file"
# Exclude Sentinel configuration file
FIND=$(grep "^sentinel " ${CONFFILE})
if [ ! -z "${FIND}" ]; then
LogText "Result: file is a Sentinel configuration file, skipping"
LogText "Result: file is a Sentinel configuration file, skipping it"
else
LogText "Result: not a Sentinel configuration file. Now scanning if it is a Redis configuration file"
LogText "Result: file is NOT a Sentinel configuration file. Now scanning if it is a Redis configuration file"
FIND=$(grep "Redis" ${CONFFILE})
if [ ! -z "${FIND}" ]; then
REDIS_CONFIGURATION_FILES="${REDIS_CONFIGURATION_FILES} ${CONFFILE}"