]> git.ipfire.org Git - thirdparty/systemd.git/commit
pid1: fix setting of DefaultTimeoutAbortSec
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 27 Nov 2019 12:13:17 +0000 (13:13 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 27 Nov 2019 12:56:28 +0000 (13:56 +0100)
commita61d68748afef4814760774eb0458a46d4ea9922
tree2674591adff6a644f70f08b0212a162f32b2ed7d
parentb9d9fbe4112b3a40b94842b7d6a4ca95faa3f946
pid1: fix setting of DefaultTimeoutAbortSec

This partially reverts a07a7324adf504381e9374d1f1a5db6edaa46435.
We have two pieces of information: the value and a boolean.
config_parse_timeout_abort() added in the reverted commit would write
the boolean to the usec_t value, making a mess.

The code is reworked to have just one implementation and two wrappers
which pass two pointers.
src/core/load-fragment.c
src/core/main.c