summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorerdgeist <erdgeist@erdgeist.org>2010-01-08 22:18:31 +0000
committererdgeist <erdgeist@erdgeist.org>2010-01-08 22:18:31 +0000
commit7bc936b857e58c994a9f99f310a6e0f401d7ebf4 (patch)
treef43b27bd2891057b80150adcae4803a70372927f
parentfb6210964ee5c0439b7bd1978b7f3364cfac0e8e (diff)
Check for zfs_enable was inverted
-rwxr-xr-xezjail-admin2
1 files changed, 1 insertions, 1 deletions
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 () {
342 # check if ZFS is enabled when managing basejail/newjail in ZFS 342 # check if ZFS is enabled when managing basejail/newjail in ZFS
343 . /etc/rc.subr 343 . /etc/rc.subr
344 load_rc_config_var zfs zfs_enable 344 load_rc_config_var zfs zfs_enable
345 checkyesno ezjail_use_zfs && checkyesno zfs_enable && echo "Warning: You should enable ZFS in /etc/rc.conf" 345 checkyesno ezjail_use_zfs && ! checkyesno zfs_enable && echo "Warning: You should enable ZFS in /etc/rc.conf"
346} 346}
347 347
348check_for_zpool () { 348check_for_zpool () {