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 _______________________________________________ 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"