diff --git a/scripts/zfs.sh b/scripts/zfs.sh index 6060fbaa88..4a707fabf3 100755 --- a/scripts/zfs.sh +++ b/scripts/zfs.sh @@ -65,6 +65,7 @@ if [ $(id -u) != 0 ]; then fi if [ ${UNLOAD} ]; then + umount -t zfs -a unload_modules else check_modules || die "${ERROR}"