diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2016-08-12 00:32:10 -0400 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2016-08-12 00:38:03 -0400 |
commit | 16fefe9080fafa9e8a96248519f0623f3c7dc5b5 (patch) | |
tree | 0ac5a990b0598853cd3d6a9ceb051b61105b4351 /src/core | |
parent | 10752e829b5751d332c0cfb95d69754bc4875ee9 (diff) |
sd-journal: fix sd_journal_open_directory with SD_JOURNAL_OS_ROOT
The directory argument that is given to sd_j_o_d was ignored when
SD_JOURNAL_OS_ROOT was given, and directories relative to the root of the host
file system were used. With that flag, sd_j_o_d should do the same as
sd_j_open_container: use the path as "prefix", i.e. the directory relative to
which everything happens.
Instead of touching sd_j_o_d, journal_new is fixed to do what sd_j_o_c
was doing, and treat the specified path as prefix when SD_JOURNAL_OS_ROOT is
specified.
Diffstat (limited to 'src/core')
0 files changed, 0 insertions, 0 deletions