aboutsummaryrefslogtreecommitdiff
path: root/system/zfs-on-linux/rc.zfs
diff options
context:
space:
mode:
Diffstat (limited to 'system/zfs-on-linux/rc.zfs')
-rw-r--r--system/zfs-on-linux/rc.zfs1
1 files changed, 1 insertions, 0 deletions
diff --git a/system/zfs-on-linux/rc.zfs b/system/zfs-on-linux/rc.zfs
index 7d818279cec1c..7df2057908494 100644
--- a/system/zfs-on-linux/rc.zfs
+++ b/system/zfs-on-linux/rc.zfs
@@ -73,6 +73,7 @@ start()
echo "Exporting ZFS filesystems"
"$ZFS" share -a
+ mkdir -p $(dirname $LOCKFILE)
touch "$LOCKFILE"
}