From 9e3488356559abb8efbfb57044a28a07ec728d5f Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Wed, 9 Feb 2000 00:21:49 +0000 Subject: [PATCH] Fixed broken initdb --show patch --- src/bin/initdb/initdb.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/bin/initdb/initdb.sh b/src/bin/initdb/initdb.sh index a97f6c0a41..d0ce140f81 100644 --- a/src/bin/initdb/initdb.sh +++ b/src/bin/initdb/initdb.sh @@ -26,7 +26,7 @@ # # # IDENTIFICATION -# $Header: /cvsroot/pgsql/src/bin/initdb/Attic/initdb.sh,v 1.84 2000/02/08 15:58:54 momjian Exp $ +# $Header: /cvsroot/pgsql/src/bin/initdb/Attic/initdb.sh,v 1.85 2000/02/09 00:21:49 petere Exp $ # #------------------------------------------------------------------------- @@ -237,7 +237,6 @@ if [ "$usage" ]; then echo " -L, --pglib Where to find the input files" echo " -t, --template Re-initialize template database only" echo " -d, --debug Generate lots of debugging output" - echo " -s, --show Do not action, show the initdb setting only" echo " -n, --noclean Do not clean up after errors" echo echo "Report bugs to ." @@ -324,7 +323,7 @@ GLOBAL_DESCR="$PGLIB"/global1.description PG_GEQO_SAMPLE="$PGLIB"/pg_geqo.sample PG_POSTMASTER_OPTS_DEFAULT_SAMPLE="$PGLIB"/postmaster.opts.default.sample -if [ "$show_setting" ] +if [ "$show_setting" -eq 1 ] then echo echo "The initdb setting:" -- 2.40.0