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:
parent
77cf51096f
commit
30c8ebe9b7
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=259472
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user