intel / ledmon

Enclosure LED Utilities
GNU General Public License v2.0
73 stars 47 forks source link

ledmon: change returns and exits for macro #212

Closed mku514k closed 6 months ago

mku514k commented 6 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 6 months ago

please remove change-id tag :)

mku514k commented 6 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.