diff options
author | Lennart Poettering <lennart@poettering.net> | 2017-02-10 15:18:23 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2017-02-10 15:18:23 +0100 |
commit | c3c7eb7d7debbe2b2e708fb8d4d11f06869e0d0a (patch) | |
tree | 23a34a15b9ca87755e062e80ac98ec0367de1317 /src/core/dbus-manager.c | |
parent | b9418b053aee15d1e8395dde89165fb89d9e6484 (diff) |
path-lookup: if $HOME can be determined but $XDG_RUNTIME_DIR can't, is it
So far, if either $HOME or $XDG_RUNTIME_DIR is not set we wouldn't use
either, and fail acquire_config_dirs() and acquire_control_dirs() in
their entireties. With this change, let's make use of the variables we
can acquire, and don't bother with the other.
Specifically this means: in both acquire_config_dirs() and
acquire_control_dirs() handle ENXIO from user_config_dir() and
user_runtime_dir() directly, instead of propagating it up and handling
it in the caller.
Diffstat (limited to 'src/core/dbus-manager.c')
0 files changed, 0 insertions, 0 deletions