svn commit: r248241 - stable/9/release

Nathan Whitehorn nwhitehorn at FreeBSD.org
Wed Mar 13 14:01:58 UTC 2013


Author: nwhitehorn
Date: Wed Mar 13 14:01:58 2013
New Revision: 248241
URL: http://svnweb.freebsd.org/changeset/base/248241

Log:
  MFC r245742:
  
  Fix typo and simplify condition.
  
  Submitted by:	Christoph Mallon <christoph dot mallon at gmx dot de>
  Missed MFC pointed out by:	Garrett Cooper

Modified:
  stable/9/release/rc.local
Directory Properties:
  stable/9/release/   (props changed)

Modified: stable/9/release/rc.local
==============================================================================
--- stable/9/release/rc.local	Wed Mar 13 13:50:50 2013	(r248240)
+++ stable/9/release/rc.local	Wed Mar 13 14:01:58 2013	(r248241)
@@ -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


More information about the svn-src-all mailing list