Check for zfs_enable was inverted
This commit is contained in:
parent
fb6210964e
commit
7bc936b857
@ -342,7 +342,7 @@ check_for_zfs () {
|
|||||||
# check if ZFS is enabled when managing basejail/newjail in ZFS
|
# check if ZFS is enabled when managing basejail/newjail in ZFS
|
||||||
. /etc/rc.subr
|
. /etc/rc.subr
|
||||||
load_rc_config_var zfs zfs_enable
|
load_rc_config_var zfs zfs_enable
|
||||||
checkyesno ezjail_use_zfs && checkyesno zfs_enable && echo "Warning: You should enable ZFS in /etc/rc.conf"
|
checkyesno ezjail_use_zfs && ! checkyesno zfs_enable && echo "Warning: You should enable ZFS in /etc/rc.conf"
|
||||||
}
|
}
|
||||||
|
|
||||||
check_for_zpool () {
|
check_for_zpool () {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user