From: Tom Lane Date: Mon, 19 Nov 2001 06:06:21 +0000 (+0000) Subject: pg_restore should exit with status 0, not 1, on success. X-Git-Tag: REL7_2_BETA3~19 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=abd6014de9ceb7fb841598771ffaf58805ba2f33;p=postgresql pg_restore should exit with status 0, not 1, on success. --- diff --git a/src/bin/pg_dump/pg_restore.c b/src/bin/pg_dump/pg_restore.c index aa8c84d289..c48ab39659 100644 --- a/src/bin/pg_dump/pg_restore.c +++ b/src/bin/pg_dump/pg_restore.c @@ -34,7 +34,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/bin/pg_dump/pg_restore.c,v 1.29 2001/11/05 17:46:30 momjian Exp $ + * $Header: /cvsroot/pgsql/src/bin/pg_dump/pg_restore.c,v 1.30 2001/11/19 06:06:21 tgl Exp $ * * Modifications - 28-Jun-2000 - pjw@rhyme.com.au * @@ -373,7 +373,7 @@ main(int argc, char **argv) CloseArchive(AH); - return 1; + return 0; } static void