diff options
author | allanjude <allanjude@FreeBSD.org> | 2015-05-22 15:57:42 +0000 |
---|---|---|
committer | allanjude <allanjude@FreeBSD.org> | 2015-05-22 15:57:42 +0000 |
commit | 655ffd2e35379d657938981f6e46e6758f8fc4be (patch) | |
tree | 1112a187932bc68bbf0d4826cf9c77ecc7fe5c22 /usr.sbin/bsdinstall/scripts | |
parent | 6dd15cbdde29a049cf977dcc251ad09a1758fa41 (diff) | |
download | FreeBSD-src-655ffd2e35379d657938981f6e46e6758f8fc4be.zip FreeBSD-src-655ffd2e35379d657938981f6e46e6758f8fc4be.tar.gz |
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.
Diffstat (limited to 'usr.sbin/bsdinstall/scripts')
-rwxr-xr-x | usr.sbin/bsdinstall/scripts/zfsboot | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/bsdinstall/scripts/zfsboot b/usr.sbin/bsdinstall/scripts/zfsboot index a5521b7..c759e85 100755 --- a/usr.sbin/bsdinstall/scripts/zfsboot +++ b/usr.sbin/bsdinstall/scripts/zfsboot @@ -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" \ |