]> granicus.if.org Git - postgresql/commitdiff
Fixed broken initdb --show patch
authorPeter Eisentraut <peter_e@gmx.net>
Wed, 9 Feb 2000 00:21:49 +0000 (00:21 +0000)
committerPeter Eisentraut <peter_e@gmx.net>
Wed, 9 Feb 2000 00:21:49 +0000 (00:21 +0000)
src/bin/initdb/initdb.sh

index a97f6c0a41d3301b20761395bd3ae01a06abfc3d..d0ce140f8119c224af9e765ba8bb766e8c6d1d4e 100644 (file)
@@ -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:"