BUG/MEDIUM: checks: fix the starting thread for external checks
authorWilly Tarreau <w@1wt.eu>
Wed, 20 Oct 2021 16:43:30 +0000 (18:43 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 20 Oct 2021 16:43:30 +0000 (18:43 +0200)
commita89c19127d2c355a549f4e124a71c6285c51cd3e
treea6002a04c3f237baaf66b8127c1dcbaf33076674
parent6878f80427aa8befc6662d85caddb8affe799b9c
BUG/MEDIUM: checks: fix the starting thread for external checks

When cleaning up the code to remove most explicit task masks in commit
beeabf531 ("MINOR: task: provide 3 task_new_* wrappers to simplify the
API"), a mistake was done with the external checks where the call does
task_new_on(1) instead of task_new_on(0) due to the confusion with the
previous mask 1.

No backport is needed as that's only 2.5-dev.
src/check.c