summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-graphics/wayland/weston-init/init2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-graphics/wayland/weston-init/init b/meta/recipes-graphics/wayland/weston-init/init
index 284fd0ac3c..8e662e00a5 100644
--- a/meta/recipes-graphics/wayland/weston-init/init
+++ b/meta/recipes-graphics/wayland/weston-init/init
@@ -29,7 +29,7 @@ case "$1" in
29 29
30 # This is all a nasty hack 30 # This is all a nasty hack
31 if test -z "$XDG_RUNTIME_DIR"; then 31 if test -z "$XDG_RUNTIME_DIR"; then
32 export XDG_RUNTIME_DIR=/var/run/user/root 32 export XDG_RUNTIME_DIR=/run/user/root
33 mkdir --parents $XDG_RUNTIME_DIR 33 mkdir --parents $XDG_RUNTIME_DIR
34 chmod 0700 $XDG_RUNTIME_DIR 34 chmod 0700 $XDG_RUNTIME_DIR
35 fi 35 fi