]> git.ipfire.org Git - thirdparty/systemd.git/commit
systemd-shutdown: use log_set_prohibit_ipc(true) 8025/head
authorAlan Jenkins <alan.christopher.jenkins@gmail.com>
Sat, 27 Jan 2018 18:02:06 +0000 (18:02 +0000)
committerAlan Jenkins <alan.christopher.jenkins@gmail.com>
Sat, 27 Jan 2018 19:51:30 +0000 (19:51 +0000)
commit8d5c7661a7fafa372fc3a7b411500cc3ba10a9b6
tree6128af0ca2217c70452a2544c1ba7ff5eb065d2a
parentcc2b9e6b20d71c60540f54646c3ec87cf57b0400
systemd-shutdown: use log_set_prohibit_ipc(true)

Now we have log_set_prohibit_ipc(), let's use it to clarify that
systemd-shutdown is not expected to try and log via journald (which it is
about to kill).  We avoided ever asking systemd-shutdown to do this, but
it's more convenient for the reader if they don't have to think about that.
In that sense, it's similar to using assert() to validate a function's
arguments.
src/core/shutdown.c