mirror of
https://github.com/BastilleBSD/bastille.git
synced 2025-12-11 09:29:55 +01:00
Merge pull request #623 from adriel-tech/patch-1
fix configure_zfs() to properly return status of zfs module.
This commit is contained in:
@@ -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`
|
||||||
|
|||||||
Reference in New Issue
Block a user