mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-26 16:18:31 +00:00
Fix "[: -eq: argument expected" error introduced by SVN r256343. The code
should not have used DIALOG_CANCEL because dialog.subr wasn't included to define it. The effect of the error was that you could not cancel the partition dialog. Discovered by checking bsdinstall_log for something else. MFC after: 3 days
This commit is contained in:
parent
ad016cb8ab
commit
31a0cf130a
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=259570
@ -124,8 +124,7 @@ exec 3>&1
|
||||
PARTMODE=`echo $PMODES | xargs dialog --backtitle "FreeBSD Installer" \
|
||||
--title "Partitioning" \
|
||||
--menu "How would you like to partition your disk?" \
|
||||
0 0 0 2>&1 1>&3`
|
||||
if [ $? -eq $DIALOG_CANCEL ]; then exit 1; fi
|
||||
0 0 0 2>&1 1>&3` || exit 1
|
||||
exec 3>&-
|
||||
|
||||
case "$PARTMODE" in
|
||||
|
Loading…
Reference in New Issue
Block a user