Commit 1a3ef51d authored by Michał 'rysiek' Woźniak's avatar Michał 'rysiek' Woźniak
Browse files

bugfix

parent 3dc0ba3f
......@@ -411,7 +411,7 @@ function dump_postgres_dbs {
# if we had a list of databases, did we find all of them?
# rationale: if we have a specific list of databases, we *expect* them to be dumped
# if we cannot find some of them, that should be clearly signalled
if [ ! -z ${5+x} ]; then
if [ ! -z ${5+x} ] && [ "$5" != "" ]; then
DATABASES_MISSING="$( echo "${@:5} $DATABASES" | tr ' ' '\n' | sort | uniq -u )"
if [[ "$DATABASES_MISSING" != "" ]]; then
# if not, complain and exit
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment