util: minor tweaks to disable_core_dumps()
authorLennart Poettering <lennart@poettering.net>
Wed, 10 Jan 2018 17:37:54 +0000 (18:37 +0100)
committerLennart Poettering <lennart@poettering.net>
Wed, 10 Jan 2018 17:44:09 +0000 (18:44 +0100)
commite557b1a655561906343918fa30959b53d16c3fdd
treeb6bf517903b95fa2b246f80eb9734756590a79b0
parent47cf8ff206b8fd76340fe8d704e4af9eb59f11f3
util: minor tweaks to disable_core_dumps()

First, let's rename it to disable_coredumps(), as in the rest of our
codebase we spell it "coredump" rather than "core_dump", so let's stick
to that.

However, also log about failures to turn off core dumpling on LOG_DEBUG,
because debug logging is always a good idea.
src/basic/util.c
src/basic/util.h
src/core/main.c
src/core/shutdown.c
src/coredump/coredump.c