From 7bc936b857e58c994a9f99f310a6e0f401d7ebf4 Mon Sep 17 00:00:00 2001 From: erdgeist Date: Fri, 8 Jan 2010 22:18:31 +0000 Subject: Check for zfs_enable was inverted --- ezjail-admin | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ezjail-admin') diff --git a/ezjail-admin b/ezjail-admin index b82adcf..4758e21 100755 --- a/ezjail-admin +++ b/ezjail-admin @@ -342,7 +342,7 @@ check_for_zfs () { # check if ZFS is enabled when managing basejail/newjail in ZFS . /etc/rc.subr 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 () { -- cgit v1.2.3