aboutsummaryrefslogtreecommitdiff
path: root/release/rc.local
diff options
context:
space:
mode:
authorNathan Whitehorn <nwhitehorn@FreeBSD.org>2013-01-21 14:06:33 +0000
committerNathan Whitehorn <nwhitehorn@FreeBSD.org>2013-01-21 14:06:33 +0000
commit4812dba4dc2f4c8f70a41a2afcca8b37f23ee0ee (patch)
tree524be0641a7a00b95a74495f3b1bc4c28d689487 /release/rc.local
parent1d9797f12857166ae936e37c3f5c3659ddc71314 (diff)
downloadsrc-4812dba4dc2f4c8f70a41a2afcca8b37f23ee0ee.tar.gz
src-4812dba4dc2f4c8f70a41a2afcca8b37f23ee0ee.zip
Fix typo and simplify condition.
Submitted by: Christoph Mallon <christoph dot mallon at gmx dot de>
Notes
Notes: svn path=/head/; revision=245742
Diffstat (limited to 'release/rc.local')
-rwxr-xr-xrelease/rc.local3
1 files changed, 1 insertions, 2 deletions
diff --git a/release/rc.local b/release/rc.local
index 29663e441a0d..f0f297fed7ce 100755
--- a/release/rc.local
+++ b/release/rc.local
@@ -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