Check for zfs_enable was inverted

This commit is contained in:
erdgeist 2010-01-08 22:18:31 +00:00
parent fb6210964e
commit 7bc936b857

View File

@ -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 () {