Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit9e34883

Browse files
committed
Fixed broken initdb --show patch
1 parent1960f4b commit9e34883

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)

[8]ページ先頭

©2009-2025 Movatter.jp