]> git.ipfire.org Git - thirdparty/systemd.git/commit
journald: rewrite function with switch, fix handling of -ESHUTDOWN
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sat, 16 Apr 2016 22:31:42 +0000 (18:31 -0400)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sat, 16 Apr 2016 22:40:21 +0000 (18:40 -0400)
commit6e1045e538a08ec68787359820a57b8b637ade70
tree01138a7920d8861d0c0cf61b3d28c823261d5cb3
parent103a5027f6bfec1ca2963803d9ed9af698acc82f
journald: rewrite function with switch, fix handling of -ESHUTDOWN

The comments and the log messages are next to one another, so it's easier
to check that the messages match the comments.

The sign was omitted in the check for -ESHUTDOWN, so it was never matched.
src/journal/journald-server.c