wrong exit code for sv status in lsb mode

From: Fabian Ruff <fabian_at_progra.de>
Date: Tue, 18 Aug 2015 23:33:50 +0200

Hi,

I just noticed that the exit code of sv status in "lsb" mode is not 3 in all cases when the service is "down".
The problem arises when a service defines a log handler. In that case the return code of svstatus_print for the log process overwrites the return code of svstatus_print of the actual supervised process (line 170 of sv.c).

Is this intentional? Looks like a bug to me.

Kind regards,
Fabian
Received on Tue Aug 18 2015 - 21:33:50 UTC

This archive was generated by hypermail 2.3.0 : Sun May 09 2021 - 19:44:19 UTC