Skip to contentSkip to conversation

weston-init: use /run instead of /var/run

PATCH New Ross Burton 1 participant 1 message Nov 11, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 weston-init: use /run instead of /var/run

/var/run is just a symlink to /run now, so use /run directly.

---
 meta/recipes-graphics/wayland/weston-init/init |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-graphics/wayland/weston-init/init +1 -1
index 284fd0a..8e662e0 100644
@@ -29,7 +29,7 @@ case "$1" in
 
         # This is all a nasty hack
         if test -z "$XDG_RUNTIME_DIR"; then
-                export XDG_RUNTIME_DIR=/var/run/user/root
+                export XDG_RUNTIME_DIR=/run/user/root
                 mkdir --parents $XDG_RUNTIME_DIR
                 chmod 0700 $XDG_RUNTIME_DIR
         fi
Signature · 1 line
1.7.10.4