]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: wdt: do not return an error when the watchdog couldn't be enabled
authorWilly Tarreau <w@1wt.eu>
Wed, 4 Mar 2020 09:46:13 +0000 (10:46 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 4 Mar 2020 11:02:27 +0000 (12:02 +0100)
commit7259fa2b89d20462f0222ac49d51575d20025e6b
tree633e1c5d6ee3a3567ffe9b7ed4807e09865e3dc3
parent842e94ee06c2c1e57078d91c28371248cf471386
BUG/MINOR: wdt: do not return an error when the watchdog couldn't be enabled

On operating systems not supporting to create a timer on
POSIX_THREAD_CPUTIME we emit a warning but we return an error so the
process fails to start, which is absurd. Let's return a success once
the warning is emitted instead.

This may be backported to 2.1 and 2.0.
src/wdt.c