add db_check() to global config_load()
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user