Commit a75d6aaa authored by Bruce Momjian's avatar Bruce Momjian

Check pgdump return request.

parent dd2c4106
......@@ -53,6 +53,6 @@ END`"
echo "${BS}connect template1 $POSTGRES_USER"
echo "create database $DATABASE;"
echo "${BS}connect $DATABASE $POSTGRES_USER"
pg_dump "$@" $DATABASE
pg_dump "$@" $DATABASE || echo "pg_dump failed on $DATABASE" 1>&2
done
# done
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