Skip to content

Commit 9e34883

Browse files
committed
Fixed broken initdb --show patch
1 parent 1960f4b commit 9e34883

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/bin/initdb/initdb.sh

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
#
2727
#
2828
# IDENTIFICATION
29-
# $Header: /cvsroot/pgsql/src/bin/initdb/Attic/initdb.sh,v 1.84 2000/02/08 15:58:54 momjian Exp $
29+
# $Header: /cvsroot/pgsql/src/bin/initdb/Attic/initdb.sh,v 1.85 2000/02/09 00:21:49 petere Exp $
3030
#
3131
#-------------------------------------------------------------------------
3232

@@ -237,7 +237,6 @@ if [ "$usage" ]; then
237237
echo " -L, --pglib <libdir> Where to find the input files"
238238
echo " -t, --template Re-initialize template database only"
239239
echo " -d, --debug Generate lots of debugging output"
240-
echo " -s, --show Do not action, show the initdb setting only"
241240
echo " -n, --noclean Do not clean up after errors"
242241
echo
243242
echo "Report bugs to <pgsql-bugs@postgresql.org>."
@@ -324,7 +323,7 @@ GLOBAL_DESCR="$PGLIB"/global1.description
324323
PG_GEQO_SAMPLE="$PGLIB"/pg_geqo.sample
325324
PG_POSTMASTER_OPTS_DEFAULT_SAMPLE="$PGLIB"/postmaster.opts.default.sample
326325

327-
if [ "$show_setting" ]
326+
if [ "$show_setting" -eq 1 ]
328327
then
329328
echo
330329
echo "The initdb setting:"

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy