Fix a typo: $1 -> $? (we want to check the return code from dialog)

PR:		35143
Submitted by:	maintainer
Reported & fixed by:	olgeni
This commit is contained in:
Pete Fritchman
2002-02-20 16:47:48 +00:00
parent 78576ecfb2
commit a9e1eb0451
14 changed files with 14 additions and 14 deletions

View File

@@ -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