diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2023-03-28 02:07:31 +0900 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2023-03-28 02:29:19 +0900 |
commit | 7276d98cd290958a9b834ee815902df5253cba85 (patch) | |
tree | 6d6a23028733bfc199caff01c561a7cb500cc74b /src/journal-remote/journal-remote.h | |
parent | 8ee2fd9050a2f28e5c5177f7cfee5bfa092699e4 (diff) | |
download | systemd-7276d98cd290958a9b834ee815902df5253cba85.tar.gz |
journal-remote: make specified output file absolute
After f12b399dd6362a03379cb769954ebfb9972236ed, the output path is
also used to determine the directory to be vacuumed. And if a filename
only path is specified, `writer_new()` fails since the commit.
This makes the specified path is always made absolute. This should not
change any behavior before the offending commit, as `journal_open()` opens
the specified journal file with `AT_FDCWD`.
Fixes #27012.
Diffstat (limited to 'src/journal-remote/journal-remote.h')
0 files changed, 0 insertions, 0 deletions