Skip to content

Commit 3a4ebc6

Browse files
authored
Merge pull request #642 from BastilleBSD/support_lowercase
fix logic for rc.conf + bastille.conf ZFS check
2 parents bce28bf + c627b1f commit 3a4ebc6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

usr/local/share/bastille/bootstrap.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ esac
4545
bastille_root_check
4646

4747
#Validate if ZFS is enabled in rc.conf and bastille.conf.
48-
if [ "$(sysrc -n zfs_enable)" = "YES" ] && checkyesno bastille_zfs_enable; then
48+
if [ "$(sysrc -n zfs_enable)" = "YES" ] && ! checkyesno bastille_zfs_enable; then
4949
warn "ZFS is enabled in rc.conf but not bastille.conf. Do you want to continue? (N|y)"
5050
read answer
5151
case $answer in

0 commit comments

Comments
 (0)