aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2000-02-09 00:21:49 +0000
committerPeter Eisentraut <peter_e@gmx.net>2000-02-09 00:21:49 +0000
commit9e3488356559abb8efbfb57044a28a07ec728d5f (patch)
tree0a36eb250fe4aa69bbd13bc3369761bd941dbcdd
parent1960f4be14fbd0d57d9b777901fd69b5354df148 (diff)
downloadpostgresql-9e3488356559abb8efbfb57044a28a07ec728d5f.tar.gz
postgresql-9e3488356559abb8efbfb57044a28a07ec728d5f.zip
Fixed broken initdb --show patch
-rw-r--r--src/bin/initdb/initdb.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/bin/initdb/initdb.sh b/src/bin/initdb/initdb.sh
index a97f6c0a41d..d0ce140f811 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 <libdir> 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 <pgsql-bugs@postgresql.org>."
@@ -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:"