diff options
author | petef <petef@FreeBSD.org> | 2002-02-21 00:47:48 +0800 |
---|---|---|
committer | petef <petef@FreeBSD.org> | 2002-02-21 00:47:48 +0800 |
commit | 083187d7814f749ab8f73785b1c1631846a453bd (patch) | |
tree | 0a3d3419315b3874acf51bb6a271041114690e0c /databases/postgresql-devel | |
parent | a2dca185bde2abc91e38a504fbebd1e9f1c5954a (diff) | |
download | freebsd-ports-gnome-083187d7814f749ab8f73785b1c1631846a453bd.tar.gz freebsd-ports-gnome-083187d7814f749ab8f73785b1c1631846a453bd.tar.zst freebsd-ports-gnome-083187d7814f749ab8f73785b1c1631846a453bd.zip |
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')
-rw-r--r-- | databases/postgresql-devel/scripts/configure.postgresql | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/databases/postgresql-devel/scripts/configure.postgresql b/databases/postgresql-devel/scripts/configure.postgresql index 0d4e224e6561..9567ce7ccec2 100644 --- a/databases/postgresql-devel/scripts/configure.postgresql +++ b/databases/postgresql-devel/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 |