Skip to content

Commit

Permalink
Merge pull request BastilleBSD#642 from BastilleBSD/support_lowercase
Browse files Browse the repository at this point in the history
fix logic for rc.conf + bastille.conf ZFS check
  • Loading branch information
cedwards authored Nov 26, 2023
2 parents bce28bf + c627b1f commit 3a4ebc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion usr/local/share/bastille/bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ esac
bastille_root_check

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

0 comments on commit 3a4ebc6

Please sign in to comment.