fix zfs module detection

merge-requests/273/head
Evan James 5 years ago
parent 4485424e46
commit 0aed38a36b

@ -1195,7 +1195,7 @@ zfs_menu_manual() {
zfs_menu() {
# check for zfs support
modprobe zfs 2>$ERR
if [ $(cat $ERR)]; then
if [[ $(cat $ERR) ]]; then
DIALOG " $_zfsZpoolCTitle " --infobox "\n$_zfsNotSupported\n " 0 0
sleep 3
return 0

Loading…
Cancel
Save