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

Commitf08e8ae

Browse files
committed
initdb cleanup
1 parenta08eb45 commitf08e8ae

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

‎src/bin/initdb/initdb.sh

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/sh
2-
#set -x
2+
set -x
33
#-------------------------------------------------------------------------
44
#
55
# initdb.sh--
@@ -27,7 +27,7 @@
2727
#
2828
#
2929
# IDENTIFICATION
30-
# $Header: /cvsroot/pgsql/src/bin/initdb/Attic/initdb.sh,v 1.72 1999/12/1802:56:01 momjian Exp $
30+
# $Header: /cvsroot/pgsql/src/bin/initdb/Attic/initdb.sh,v 1.73 1999/12/1803:21:21 momjian Exp $
3131
#
3232
#-------------------------------------------------------------------------
3333

@@ -322,7 +322,8 @@ TEMPLATE_DESCR="$PGLIB"/local1_template1.description
322322
GLOBAL_DESCR="$PGLIB"/global1.description
323323
PG_GEQO_SAMPLE="$PGLIB"/pg_geqo.sample
324324

325-
forPREREQ_FILEin"$TEMPLATE""$GLOBAL""$PG_HBA_SAMPLE";do
325+
forPREREQ_FILEin"$TEMPLATE""$GLOBAL""$PG_HBA_SAMPLE"
326+
do
326327
if [!-f"$PREREQ_FILE" ]
327328
then
328329
echo"$CMDNAME does not find the file '$PREREQ_FILE'."
@@ -338,9 +339,9 @@ if [ "$template_only" -eq 0 ]
338339
then
339340
["$debug"-ne 0 ]&&echo"$CMDNAME: Using$GLOBAL as input to create the global classes."
340341
["$debug"-ne 0 ]&&echo"$CMDNAME: Using$PG_HBA_SAMPLE as default authentication control file."
341-
fi
342+
fi
342343

343-
trap'echo "Caught signal." ; exit_nicely'SIGINT SIGTERM
344+
trap'echo "Caught signal." ; exit_nicely'1 2 3 15
344345

345346

346347
# -----------------------------------------------------------------------

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp