Branch: refs/heads/master
Home: https://github.com/lxc/lxc
Commit: 97a696c6e5ac8b82ecd10a90ca69427af685bd1f
https://github.com/lxc/lxc/commit/97a696c6e5ac8b82ecd10a90ca69427af685bd1f
Author: Stéphane Graber <[email protected]>
Date: 2014-02-18 (Tue, 18 Feb 2014)
Changed paths:
M src/lxc/lxclock.c
M src/lxc/monitor.c
M src/lxc/utils.c
Log Message:
-----------
Set a reasonable fallback for get_rundir
If get_rundir can't find XDG_RUNTIME_DIR in the environment, it'll
attempt to build a path using ~/.cache/lxc/run/. Should that fail
because of missing $HOME in the environment, it'll then return NULL an
all callers will fail in that case.
Signed-off-by: Stéphane Graber <[email protected]>
Acked-by: Serge E. Hallyn <[email protected]>
_______________________________________________
lxc-devel mailing list
[email protected]
http://lists.linuxcontainers.org/listinfo/lxc-devel