Merge pull request #623 from adriel-tech/patch-1

fix configure_zfs() to properly return status of zfs module.
This commit is contained in:
Barry McCormick
2023-11-01 08:38:17 -07:00
committed by GitHub

View File

@@ -93,7 +93,7 @@ fi
# Configure ZFS # Configure ZFS
configure_zfs() { configure_zfs() {
if [ ! "$(kldstat -q -m zfs)" ]; then if [ ! "$(kldstat -m zfs)" ]; then
info "ZFS module not loaded; skipping..." info "ZFS module not loaded; skipping..."
else else
## attempt to determine bastille_zroot from `zpool list` ## attempt to determine bastille_zroot from `zpool list`