Commit 4519408c authored by Dave Lane's avatar Dave Lane

fixed bad conf file test

parent 16492ef6
...@@ -70,7 +70,7 @@ BACKUP_STATUS="[SUCCESS]" ...@@ -70,7 +70,7 @@ BACKUP_STATUS="[SUCCESS]"
if [ $DEBUG == "true" ] ; then if [ $DEBUG == "true" ] ; then
echo "Get Local Settings" echo "Get Local Settings"
fi fi
if [ -x $CONF_FILE ] ; then if [ -r $CONF_FILE ] ; then
. $CONF_FILE . $CONF_FILE
else else
$CAT_COMMAND $LOGFILE | $MAIL_COMMAND -s "[ERROR] Could not find config file for $SERVERNAME backup" $MAIL_TO $CAT_COMMAND $LOGFILE | $MAIL_COMMAND -s "[ERROR] Could not find config file for $SERVERNAME backup" $MAIL_TO
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment