diff --git a/src/bin/pg_dump/pg_dump.c b/src/bin/pg_dump/pg_dump.c index 69ca956c43b..710b779c7ee 100644 --- a/src/bin/pg_dump/pg_dump.c +++ b/src/bin/pg_dump/pg_dump.c @@ -477,7 +477,7 @@ main(int argc, char **argv) if (compressLevel < 0 || compressLevel > 9) { write_msg(NULL, "compression level must be in range 0..9\n"); - exit_nicely(1); + exit_nicely(); } break;