summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pc-sysinstall
diff options
context:
space:
mode:
authorjpaetzel <jpaetzel@FreeBSD.org>2011-03-30 17:33:52 +0000
committerjpaetzel <jpaetzel@FreeBSD.org>2011-03-30 17:33:52 +0000
commitb7152a78463e3772fc8db5b25e3712c69f1bc53d (patch)
treeccb9c7cd060d3dc5fe95268385b1ca03d62e0e53 /usr.sbin/pc-sysinstall
parentdfc44ec337561748fb9aeccf90ec256fee4b7797 (diff)
downloadFreeBSD-src-b7152a78463e3772fc8db5b25e3712c69f1bc53d.zip
FreeBSD-src-b7152a78463e3772fc8db5b25e3712c69f1bc53d.tar.gz
Fix syntax error from previous commit.
Approved by: kib (mentor)
Diffstat (limited to 'usr.sbin/pc-sysinstall')
-rwxr-xr-xusr.sbin/pc-sysinstall/backend/functions-disk.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/pc-sysinstall/backend/functions-disk.sh b/usr.sbin/pc-sysinstall/backend/functions-disk.sh
index 75258a3..faeab0d 100755
--- a/usr.sbin/pc-sysinstall/backend/functions-disk.sh
+++ b/usr.sbin/pc-sysinstall/backend/functions-disk.sh
@@ -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"
OpenPOWER on IntegriCloud