diff options
author | Pete Fritchman <petef@FreeBSD.org> | 2002-02-20 16:47:48 +0000 |
---|---|---|
committer | Pete Fritchman <petef@FreeBSD.org> | 2002-02-20 16:47:48 +0000 |
commit | a9e1eb045167976c661f84dbc29cbc4e5b27dcd0 (patch) | |
tree | fb73e2ee39b634a97eb515ff12c92b5bdf47e618 /databases/postgresql84-server | |
parent | 78576ecfb23c5426e7f5f2c4d1624d2772501a0b (diff) | |
download | ports-a9e1eb045167976c661f84dbc29cbc4e5b27dcd0.tar.gz ports-a9e1eb045167976c661f84dbc29cbc4e5b27dcd0.zip |
Fix a typo: $1 -> $? (we want to check the return code from dialog)
PR: 35143
Submitted by: maintainer
Reported & fixed by: olgeni
Notes
Notes:
svn path=/head/; revision=54992
Diffstat (limited to 'databases/postgresql84-server')
-rw-r--r-- | databases/postgresql84-server/scripts/configure.postgresql | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/databases/postgresql84-server/scripts/configure.postgresql b/databases/postgresql84-server/scripts/configure.postgresql index 0d4e224e6561..9567ce7ccec2 100644 --- a/databases/postgresql84-server/scripts/configure.postgresql +++ b/databases/postgresql84-server/scripts/configure.postgresql @@ -17,7 +17,7 @@ and restore of all databases is required. This is *NOT* done by the port! Select 'Yes' to continue the installation." -1 -1 - if [ $1 -eq 1 ] ; then exit 1; fi + if [ $? -eq 1 ] ; then exit 1; fi fi if [ "${BATCH}" ]; then |