[Nut-upsuser] NUT on Linux, pid related errors

Kris Jordan nut01.kj at sagebrushnetworks.com
Fri Aug 2 02:54:54 UTC 2013


Charles Lepple wrote, On 8/1/2013 7:36 PM:
> On Aug 1, 2013, at 1:34 AM, Kris Jordan wrote:
>
>> The kill error is coming from this line:
>> https://github.com/networkupstools/nut/blob/master/common/common.c#L263
>>
>> Which is called from:
>> https://github.com/networkupstools/nut/blob/master/client/upsmon.c#L1930
>>
>> In which case would you need to "see if this is going to work first"?
> Agreed, the first kill(pid, 0) is redundant in that case.
>
> https://github.com/networkupstools/nut/blob/master/clients/upsmon.c#L1930

It definitely is redundant for the L1930 case. Actually, I was wondering 
about the opposite case, stopping and/or reloading nut.



More information about the Nut-upsuser mailing list