diff options
author | erdgeist <erdgeist@erdgeist.org> | 2010-01-08 22:18:31 +0000 |
---|---|---|
committer | erdgeist <erdgeist@erdgeist.org> | 2010-01-08 22:18:31 +0000 |
commit | 7bc936b857e58c994a9f99f310a6e0f401d7ebf4 (patch) | |
tree | f43b27bd2891057b80150adcae4803a70372927f /ezjail-admin | |
parent | fb6210964ee5c0439b7bd1978b7f3364cfac0e8e (diff) |
Check for zfs_enable was inverted
Diffstat (limited to 'ezjail-admin')
-rwxr-xr-x | ezjail-admin | 2 |
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 | ||
348 | check_for_zpool () { | 348 | check_for_zpool () { |