proc-cmdline: return proper errors from shall_restore_state()
authorLennart Poettering <lennart@poettering.net>
Mon, 2 Nov 2015 22:07:58 +0000 (23:07 +0100)
committerLennart Poettering <lennart@poettering.net>
Mon, 2 Nov 2015 22:44:05 +0000 (23:44 +0100)
commit934ae16baf543af03f3f521277d14524ca772d17
tree2c71fd536c9b911f2cfc7c749d844cb33bcb52ea
parent19854865a877a3a4fa3d04550c15a99c0e1187ff
proc-cmdline: return proper errors from shall_restore_state()

Let's not eat up errors in shall_restore_state(), but in the consumers
instead, just for the sake of keeping the library calls generic.
src/backlight/backlight.c
src/basic/proc-cmdline.c
src/rfkill/rfkill.c