bootctl: handle if LoaderSystemToken is invalid for some reason
authorLennart Poettering <lennart@poettering.net>
Mon, 14 Sep 2020 10:35:19 +0000 (12:35 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sun, 20 Sep 2020 10:01:04 +0000 (12:01 +0200)
commita06cf9a5bad917b9ac6016c940c5f0f0238f266f
tree9bbf935824a55d574ceb5987771d3ef9e89f5c05
parente2c0023dd2c18500ffa9a07522b9a860f358311f
bootctl: handle if LoaderSystemToken is invalid for some reason

This points to some firmware issue, but we should still be able to
correct things if this happens. Hence log about this and fix it.

Fixes: #17041
(cherry picked from commit ad0b610b0c1c2595c32b6235e7ac5ad7fba6e0aa)
src/boot/bootctl.c