X-Git-Url: https://git.camperquake.de/gitweb.cgi?a=blobdiff_plain;f=scripts%2Fzfs.sh;fp=scripts%2Fzfs.sh;h=4a707fabf34019a4a49c04086d85d5a1f728c93e;hb=b9f6a49025809d658754c758dc7e2a81ee41271b;hp=6060fbaa88ecfae8938ef07bfbe6df98c9c2fbb5;hpb=07bd86718b74b2d8e0f633f1b80e976892eaf329;p=zfs.git diff --git a/scripts/zfs.sh b/scripts/zfs.sh index 6060fba..4a707fa 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}"