]> git.ipfire.org Git - thirdparty/systemd.git/commit
fix journald startup problem when code is compiled with -DNDEBUG (#4735)
authorWaldemar Brodkorb <wbx-github@users.noreply.github.com>
Fri, 25 Nov 2016 10:24:58 +0000 (11:24 +0100)
committerMartin Pitt <martin.pitt@ubuntu.com>
Fri, 25 Nov 2016 10:24:58 +0000 (11:24 +0100)
commit9bab3b65b0ad625ebbf50583c46f5c7c35b18a70
treecb75a9e58e81e7a0c97906c4158477c08b985bb7
parent2f08ccc32e5543fc73ac6c9d301d6e5a427dddf7
fix journald startup problem when code is compiled with -DNDEBUG (#4735)

Similar to this patch from here:
http://systemd-devel.freedesktop.narkive.com/AvfCbi6c/patch-0-3-using-assert-se-on-actions-with-side-effects-on-test-cases

If the code is compiled with -DNDEBUG which is the default for
some embedded buildsystems, systemd-journald does not startup
and silently fails.
src/journal/journald-server.c