1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-26 16:18:31 +00:00

Accept NULL input as also meaning zero swap.

MFC after:	3 days
This commit is contained in:
Devin Teske 2013-12-16 17:11:09 +00:00
parent 77cf51096f
commit 30c8ebe9b7
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=259472

View File

@ -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