MINOR: mworker: replace ha_alert by ha_warning when exiting successfuly
authorWilliam Lallemand <wlallemand@haproxy.com>
Wed, 6 May 2020 15:27:03 +0000 (17:27 +0200)
committerWilliam Lallemand <wlallemand@haproxy.org>
Wed, 6 May 2020 15:27:03 +0000 (17:27 +0200)
commita655ba4a9498b91fb36de0374eb8a8f636bef46b
treeb1114d6989dfa8b567fe75e9fd1a495fb193d5bb
parent8d38f0affdbf1b3e558602ce6551dcc1cdb8c958
MINOR: mworker: replace ha_alert by ha_warning when exiting successfuly

Since commit bb86986 ("MINOR: init: report the haproxy version and
executable path once on errors") the master-worker displays its version
and path upon a successful exits of a current worker. Which is kind of
confusing upon a clean exits.

This is due to the fact that that commit displays this upon a ha_alert()
which was used during the exit of the process.

Replace the ha_alert() by an ha_warning() if the process exit correctly
and was supposed to.

It still displays the message upon a SIGINT since the workers are
catching the signal.
src/mworker.c