diff --git a/egrdbackup/.gitignore b/egrdbackup/.gitignore new file mode 100644 index 0000000..fee9217 --- /dev/null +++ b/egrdbackup/.gitignore @@ -0,0 +1 @@ +*.conf diff --git a/egrdbackup/egrdbackup b/egrdbackup/egrdbackup index 61fabba..fc93da0 100755 --- a/egrdbackup/egrdbackup +++ b/egrdbackup/egrdbackup @@ -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