add db_check() to global config_load()

This commit is contained in:
2019-05-12 00:38:40 +02:00
parent 01086b336c
commit e2c482403b
3 changed files with 5 additions and 12 deletions

View File

@ -65,12 +65,6 @@ fi
exit 1
}
#db checks
[ "$(db_check)" == $FALSE ] && {
echo "DB ERROR!!" >&2
exit $ERROR_DBLINK
}
## functions
function md5_in_add() {
cat $md5list | while read line; do #for each line in md5