diff --git a/blockcheck.sh b/blockcheck.sh index a6e5cef..52f6db6 100755 --- a/blockcheck.sh +++ b/blockcheck.sh @@ -160,7 +160,7 @@ check_system() freebsd_module_loaded() { # $1 - module name - kldstat -qn "${1}.ko" + kldstat -qm "${1}" } freebsd_modules_loaded() {