diff --git a/scripts/zfs.sh b/scripts/zfs.sh index e676fc295..c131429c9 100755 --- a/scripts/zfs.sh +++ b/scripts/zfs.sh @@ -198,6 +198,9 @@ unload_modules_linux() { if [ "$USE_COUNT" = "0" ] ; then unload_module_linux "$KMOD" || return 1 + else + echo "Module ${NAME} is still in use!" + return 1 fi done