openhpi2 / Open-HPI

Open HPI is an open source implementation of the SA Forum's Hardware Platform Interface (HPI). HPI provides an abstracted interface to managing computer hardware, typically for chassis and rack based servers
Other
3 stars 1 forks source link

User kill signal need not generate error #2576

Closed openhpi2 closed 8 years ago

openhpi2 commented 9 years ago

The signal_stop set to TRUE could return SA_OK rather than error. In the event.c and plugin.c, the variable signal_stop is set to TRUE to indicate the user signal and terminate the threads. During these times SA_OK could be set to the return value so that the error message is not displayed.

Reported by: dr_mohan

openhpi2 commented 9 years ago

Shivashankar created the attached patch. This is a simple patch. Could you please review? 1875_May132015.patch.txt

Original comment by: dr_mohan

openhpi2 commented 9 years ago

Original comment by: dr_mohan

openhpi2 commented 9 years ago

Fixed with checkin #7627

Original comment by: dr_mohan