diff options
author | petef <petef@FreeBSD.org> | 2002-02-20 16:47:48 +0000 |
---|---|---|
committer | petef <petef@FreeBSD.org> | 2002-02-20 16:47:48 +0000 |
commit | 083187d7814f749ab8f73785b1c1631846a453bd (patch) | |
tree | 0a3d3419315b3874acf51bb6a271041114690e0c /databases/postgresql-devel-server | |
parent | a2dca185bde2abc91e38a504fbebd1e9f1c5954a (diff) | |
download | FreeBSD-ports-083187d7814f749ab8f73785b1c1631846a453bd.zip FreeBSD-ports-083187d7814f749ab8f73785b1c1631846a453bd.tar.gz |
Fix a typo: $1 -> $? (we want to check the return code from dialog)
PR: 35143
Submitted by: maintainer
Reported & fixed by: olgeni
Diffstat (limited to 'databases/postgresql-devel-server')
-rw-r--r-- | databases/postgresql-devel-server/scripts/configure.postgresql | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/databases/postgresql-devel-server/scripts/configure.postgresql b/databases/postgresql-devel-server/scripts/configure.postgresql index 0d4e224..9567ce7 100644 --- a/databases/postgresql-devel-server/scripts/configure.postgresql +++ b/databases/postgresql-devel-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 |