Commit 17f74fcf authored by dalto's avatar dalto

Allow selecting "none" as a mountpoint for zfs

parent fd0c4321
......@@ -1081,7 +1081,7 @@ zfs_new_ds() {
# validation
[[ $(findmnt -n ${MOUNTPOINT}/${zmount}) ]] && zfsmenubody=$_zfsMountMenuInUse
[[ ! $zmount =~ ^/ ]] && zfsmenubody=$_zfsMountMenuNotValid
[[ ! ($zmount =~ ^/ || $zmount == none) ]] && zfsmenubody=$_zfsMountMenuNotValid
[[ $zfsmenubody == $_zfsMountMenuBody ]] && loopmenu=0
done
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment