Fix typo and simplify condition.

Submitted by:	Christoph Mallon <christoph dot mallon at gmx dot de>
This commit is contained in:
Nathan Whitehorn 2013-01-21 14:06:33 +00:00
parent 1d9797f128
commit 4812dba4dc
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=245742

View file

@ -46,8 +46,7 @@ fi
export TERM
if [ -f /etc/installerconfig ]; then
bsdinstall script /etc/installerconfig
if [ $? -eq 0]; then
if bsdinstall script /etc/installerconfig; then
dialog --backtitle "FreeBSD Installer" --title "Complete" --no-cancel --ok-label "Reboot" --pause "Installation of FreeBSD complete! Rebooting in 10 seconds" 10 30 10
reboot
else