chiark / gitweb /
basic: split parsing of the OOM score adjust value into its own function in parse...
authorLennart Poettering <lennart@poettering.net>
Mon, 7 May 2018 18:26:38 +0000 (20:26 +0200)
committerSven Eden <yamakuzure@gmx.net>
Fri, 24 Aug 2018 14:47:08 +0000 (16:47 +0200)
commit639857b77ba7042bb36436c6194d521b03f5d397
tree525d658a202c7fc5404837d039a7dd2c7a14274c
parentfc7062176374472f32624f73819188ddab30e411
basic: split parsing of the OOM score adjust value into its own function in parse-util.c

And port config_parse_exec_oom_score_adjust() over to use it.

While we are at it, let's also fix config_parse_exec_oom_score_adjust()
to accept an empty string for turning off OOM score adjustments set
earlier.
src/basic/parse-util.c
src/basic/parse-util.h