Skip to content
Snippets Groups Projects
Commit c446802b authored by Tom Lane's avatar Tom Lane
Browse files

Fix syntax error reported by old shells ("if ! command..." is a

neologism, apparently).
parent 1aecb8d2
No related branches found
No related tags found
No related merge requests found
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
# #
# #
# IDENTIFICATION # IDENTIFICATION
# $Header: /cvsroot/pgsql/src/bin/initdb/Attic/initdb.sh,v 1.87 2000/03/25 14:32:50 momjian Exp $ # $Header: /cvsroot/pgsql/src/bin/initdb/Attic/initdb.sh,v 1.88 2000/03/25 18:46:17 tgl Exp $
# #
#------------------------------------------------------------------------- #-------------------------------------------------------------------------
...@@ -282,7 +282,8 @@ fi ...@@ -282,7 +282,8 @@ fi
# The data path must be absolute, because the backend doesn't like # The data path must be absolute, because the backend doesn't like
# '.' and '..' stuff. (Should perhaps be fixed there.) # '.' and '..' stuff. (Should perhaps be fixed there.)
if ! echo "$PGDATA" | grep '^/' > /dev/null 2>&1 echo "$PGDATA" | grep '^/' > /dev/null 2>&1
if [ "$?" -ne 0 ]
then then
echo "$CMDNAME: data path must be specified as an absolute path" echo "$CMDNAME: data path must be specified as an absolute path"
exit 1 exit 1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment