logind: some firmware implementations remove OsIndications if it is unset
authorLennart Poettering <lennart@poettering.net>
Sat, 11 Jul 2015 20:29:48 +0000 (17:29 -0300)
committerLennart Poettering <lennart@poettering.net>
Sat, 11 Jul 2015 20:32:25 +0000 (17:32 -0300)
commit6b62bbbc7b53bee11778d27d18e9506d9b42d4ba
tree6ddf5324b40c6821f2dc7a12edeea1b8d826d6cd
parent6f9d58d87fa2b728c1d08f74e9f17c581513516c
logind: some firmware implementations remove OsIndications if it is unset

We shouldn't fall over that, and just assume it is 0 in this case.

Fixes #499.
src/shared/efivars.c