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

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

(From OE-Core rev: b6201d2a27639f9d384ba1137096a05f6795797a)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Ross Burton 2013-11-11 12:21:32 +00:00 committed by Richard Purdie
parent 7fd89192c5
commit f31258233e
1 changed files with 1 additions and 1 deletions

View File

@ -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