Update 'zfs.sh -u' to umount all zfs filesystems
[zfs.git] / scripts / zfs.sh
index 6060fba..4a707fa 100755 (executable)
@@ -65,6 +65,7 @@ if [ $(id -u) != 0 ]; then
 fi
 
 if [ ${UNLOAD} ]; then
+       umount -t zfs -a
        unload_modules
 else
        check_modules || die "${ERROR}"