|
23 | 23 | * Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
|
24 | 24 | * Portions Copyright (c) 1994, Regents of the University of California
|
25 | 25 | *
|
26 |
| - * $Header: /cvsroot/pgsql/contrib/pg_resetxlog/Attic/pg_resetxlog.c,v 1.14 2002/01/10 23:40:58 momjian Exp $ |
| 26 | + * $Header: /cvsroot/pgsql/contrib/pg_resetxlog/Attic/pg_resetxlog.c,v 1.15 2002/01/10 23:46:13 momjian Exp $ |
27 | 27 | *
|
28 | 28 | *-------------------------------------------------------------------------
|
29 | 29 | */
|
@@ -585,8 +585,12 @@ main(int argc, char **argv)
|
585 | 585 | {
|
586 | 586 | PrintControlValues(guessed);
|
587 | 587 | if (!noupdate)
|
| 588 | +{ |
588 | 589 | printf("\nIf these values seem acceptable, use -f to force reset.\n");
|
589 |
| -exit(1); |
| 590 | +exit(1); |
| 591 | +} |
| 592 | +else |
| 593 | +exit(0); |
590 | 594 | }
|
591 | 595 |
|
592 | 596 | /*
|
|