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