intel / ledmon

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

ledmon: change returns and exits for macro #212

Closed mku514k closed 8 months ago

mku514k commented 8 months ago

Commit f08dd2c7b978 ("Fix build with Musl libc (#139)") introduced a new way of handling exits. For ledmon statuses to display properly EXIT() macro must be called instead of exit() and return in main.

Switch exit() and (main) returns in ledmon to EXIT().

mtkaczyk commented 8 months ago

please remove change-id tag :)

mku514k commented 8 months ago

please remove change-id tag :)

There is no change-id. Checkpatch fails because it can't find a commit with hash that is referenced, but we know it's valid since github redirects to it properly. I suppose it is due to being run in a container.