mirror of
https://github.com/JRGTH/xigmanas-bastille-extension.git
synced 2025-12-11 17:31:09 +01:00
Check if bastille_zfs_enable is actually set to NO
Check if bastille_zfs_enable is actually set to NO before zfs disable
This commit is contained in:
4
bastille-init
Normal file → Executable file
4
bastille-init
Normal file → Executable file
@@ -1392,7 +1392,9 @@ rc_params()
|
||||
if zfs list -H "${CWDIR}" | awk '{print $1}' | grep -qw "${DAFAULT_BASTILLE_PREFIX}"; then
|
||||
zfs_support_error
|
||||
else
|
||||
zfs_support_disabled
|
||||
if [ "${bastille_zfs_enable}" = "NO" ] || [ "${bastille_zfs_enable}" = "no" ]; then
|
||||
zfs_support_disabled
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user