8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e2eb21 commit 30826ceCopy full SHA for 30826ce
src/bin/initdb/initdb.sh
@@ -23,7 +23,7 @@
23
#
24
# Copyright (c) 1994, Regents of the University of California
25
26
-# $Header: /cvsroot/pgsql/src/bin/initdb/Attic/initdb.sh,v 1.103 2000/09/01 13:15:27 petere Exp $
+# $Header: /cvsroot/pgsql/src/bin/initdb/Attic/initdb.sh,v 1.104 2000/09/29 13:38:02 petere Exp $
27
28
#-------------------------------------------------------------------------
29
@@ -385,7 +385,7 @@ then
385
else
386
if [ ! -d "$PGDATA" ]; then
387
echo "Creating directory $PGDATA"
388
- mkdir "$PGDATA" || exit_nicely
+ mkdir -p "$PGDATA" >/dev/null 2>&1 || mkdir "$PGDATA" || exit_nicely
389
made_new_pgdata=yes
390
391
echo "Fixing permissions on existing directory $PGDATA"
0 commit comments