svn commit: r259472 - head/usr.sbin/bsdinstall/scripts
Devin Teske
dteske at FreeBSD.org
Mon Dec 16 17:11:09 UTC 2013
Author: dteske
Date: Mon Dec 16 17:11:09 2013
New Revision: 259472
URL: http://svnweb.freebsd.org/changeset/base/259472
Log:
Accept NULL input as also meaning zero swap.
MFC after: 3 days
Modified:
head/usr.sbin/bsdinstall/scripts/zfsboot
Modified: head/usr.sbin/bsdinstall/scripts/zfsboot
==============================================================================
--- head/usr.sbin/bsdinstall/scripts/zfsboot Mon Dec 16 17:05:03 2013 (r259471)
+++ head/usr.sbin/bsdinstall/scripts/zfsboot Mon Dec 16 17:11:09 2013 (r259472)
@@ -1387,7 +1387,7 @@ while :; do
f_dialog_input input \
"$msg_please_enter_amount_of_swap_space" \
"$ZFSBOOT_SWAP_SIZE" &&
- ZFSBOOT_SWAP_SIZE="$input"
+ ZFSBOOT_SWAP_SIZE="${input:-0}"
;;
esac
done
More information about the svn-src-head
mailing list