fixed bad config file path and reference to missing function

This commit is contained in:
Dave lane 2018-02-09 14:46:14 +13:00
parent 794ca288a5
commit 61941eed22
2 changed files with 5 additions and 5 deletions

View file

@ -183,11 +183,11 @@ done
# create the blank email report
create_tmp_email
#
if test -f $BU_CONF ; then
verbose "Reading default in $BU_CONF"
source $BU_CONF
if test -f $MAIN_DIR/$BU_CONF ; then
verbose "Reading default in $MAIN_DIR/$BU_CONF"
source $MAIN_DIR/$BU_CONF
else
error "Couldn't find or read $BU_CONF"
message "ERROR: Couldn't find or read $MAIN_DIR/$BU_CONF"
exit 1
fi
#