svn commit: r220161 - head/usr.sbin/pc-sysinstall/backend

Josh Paetzel jpaetzel at FreeBSD.org
Wed Mar 30 17:33:53 UTC 2011


Author: jpaetzel
Date: Wed Mar 30 17:33:52 2011
New Revision: 220161
URL: http://svn.freebsd.org/changeset/base/220161

Log:
  Fix syntax error from previous commit.
  
  Approved by:	kib (mentor)

Modified:
  head/usr.sbin/pc-sysinstall/backend/functions-disk.sh

Modified: head/usr.sbin/pc-sysinstall/backend/functions-disk.sh
==============================================================================
--- head/usr.sbin/pc-sysinstall/backend/functions-disk.sh	Wed Mar 30 14:48:49 2011	(r220160)
+++ head/usr.sbin/pc-sysinstall/backend/functions-disk.sh	Wed Mar 30 17:33:52 2011	(r220161)
@@ -421,7 +421,7 @@ setup_disk_slice()
 
     # Check if we have an image file defined
     echo $line | grep -q "^image=" 2>/dev/null
-    if [ $? eq 0 ] ; then
+    if [ $? -eq 0 ] ; then
       # Found an image= entry, lets read / set it
       get_value_from_string "${line}"
       strip_white_space "$VAL"


More information about the svn-src-head mailing list