Skip to content

Commit a75d6aa

Browse files
committed
Check pgdump return request.
1 parent dd2c410 commit a75d6aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bin/pg_dump/pg_dumpall

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,6 @@ END`"
5353
echo "${BS}connect template1 $POSTGRES_USER"
5454
echo "create database $DATABASE;"
5555
echo "${BS}connect $DATABASE $POSTGRES_USER"
56-
pg_dump "$@" $DATABASE
56+
pg_dump "$@" $DATABASE || echo "pg_dump failed on $DATABASE" 1>&2
5757
done
5858
# done

0 commit comments

Comments
 (0)