]> git.ipfire.org Git - thirdparty/systemd.git/commit
journalctl: voidify mkdir_p() call and unify two similar code paths 12119/head
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 27 Mar 2019 08:30:35 +0000 (09:30 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 27 Mar 2019 12:01:44 +0000 (13:01 +0100)
commit330b8fb3790561e41b9a16c4ad34658be6916135
tree0ee6b05dc5f72b727326cefb8495244b8a30355b
parent6e5dcce4b1a429246b84ab8171a7608105a0228b
journalctl: voidify mkdir_p() call and unify two similar code paths

Let's unify the two similar code paths to watch /run/systemd/journal.
The code in manager.c is similar, but it uses mkdir_p_label(), and unifying
that would be too much trouble, so let's just adjust the error messages to
be the same.

CID #1400224.
src/core/manager.c
src/journal/journalctl.c