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"
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to