Skip to content

Commit f08e8ae

Browse files
committed
initdb cleanup
1 parent a08eb45 commit f08e8ae

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/18 02:56:01 momjian Exp $
30+
# $Header: /cvsroot/pgsql/src/bin/initdb/Attic/initdb.sh,v 1.73 1999/12/18 03: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-
for PREREQ_FILE in "$TEMPLATE" "$GLOBAL" "$PG_HBA_SAMPLE"; do
325+
for PREREQ_FILE in "$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)
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