Fix a syntax error in bsdinstall/zfsboot
Differential Revision: https://reviews.freebsd.org/D2571 Submitted by: Michael Dexter Approved by: dteske MFC after: 1 week X-MFC-With: r283023, r282443 Sponsored by: ScaleEngine Inc.
This commit is contained in:
parent
7c909980ef
commit
dce663816a
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=283288
@ -974,7 +974,7 @@ zfs_create_diskpart()
|
||||
/dev/$disk${swappart}.eli none swap sw 0 0 \
|
||||
$BSDINSTALL_TMPETC/fstab ||
|
||||
return $FAILURE
|
||||
elif [ ${swapsize:-0} -eq 0 ]
|
||||
elif [ ${swapsize:-0} -eq 0 ]; then
|
||||
# If swap is 0 sized, don't add it to fstab
|
||||
else
|
||||
f_eval_catch $funcname printf "$PRINTF_FSTAB" \
|
||||
|
Loading…
Reference in New Issue
Block a user