fixed bad conf file test
This commit is contained in:
parent
16492ef649
commit
4519408c74
2 changed files with 2 additions and 1 deletions
1
egrdbackup/.gitignore
vendored
Normal file
1
egrdbackup/.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
*.conf
|
|
@ -70,7 +70,7 @@ BACKUP_STATUS="[SUCCESS]"
|
|||
if [ $DEBUG == "true" ] ; then
|
||||
echo "Get Local Settings"
|
||||
fi
|
||||
if [ -x $CONF_FILE ] ; then
|
||||
if [ -r $CONF_FILE ] ; then
|
||||
. $CONF_FILE
|
||||
else
|
||||
$CAT_COMMAND $LOGFILE | $MAIL_COMMAND -s "[ERROR] Could not find config file for $SERVERNAME backup" $MAIL_TO
|
||||
|
|
Loading…
Reference in a new issue