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

Charles Lepple clepple at gmail.com
Fri Aug 2 02:36:01 UTC 2013


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

-- 
Charles Lepple
clepple at gmail






More information about the Nut-upsuser mailing list