summaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
Diffstat (limited to 'system')
-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 7d818279ce..7df2057908 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"
}