intel / ledmon

Enclosure LED Utilities
GNU General Public License v2.0
72 stars 49 forks source link

ledmon.c: allocate memory for ignore #131

Closed pawpiatko closed 1 year ago

pawpiatko commented 1 year ago

Fix printing status on application exit. In old solution ignore has been read from random memory (in function _ledmon_status) causing fake values to be checked. As result, exit status was never printed.