summaryrefslogtreecommitdiffstats
path: root/etc/init.d/zfs-mount.in
diff options
context:
space:
mode:
Diffstat (limited to 'etc/init.d/zfs-mount.in')
-rwxr-xr-xetc/init.d/zfs-mount.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/init.d/zfs-mount.in b/etc/init.d/zfs-mount.in
index e26813d90..3be3d7b13 100755
--- a/etc/init.d/zfs-mount.in
+++ b/etc/init.d/zfs-mount.in
@@ -163,7 +163,7 @@ do_unmount()
do_start()
{
- check_module_loaded || exit 0
+ check_module_loaded "zfs" || exit 0
case "$ZFS_MOUNT" in
[Oo][Ff][Ff]|[Nn][Oo]|''|0)
@@ -189,7 +189,7 @@ do_stop()
;;
esac
- check_module_loaded || exit 0
+ check_module_loaded "zfs" || exit 0
do_unmount
}