]> git.ipfire.org Git - thirdparty/systemd.git/commit
efi: Skip parsing SystemdOptions if there's an error getting it.
authorFilipe Brandenburger <filbranden@gmail.com>
Thu, 11 Jun 2020 22:33:32 +0000 (15:33 -0700)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sun, 14 Jun 2020 08:51:01 +0000 (10:51 +0200)
commit7283fbfd0c46819fea9f0a20671eaef99b3993e5
tree0c590f7461a66d146f098f00060dd9024ca3594c
parent25c86e4c39f81ec753df2ebc11728e5a3bba7b81
efi: Skip parsing SystemdOptions if there's an error getting it.

The original logic was logging an "ignored" debug message, but it was still
going ahead and calling proc_cmdline_parse_given() on the NULL line. Fix that
to skip that explicitly when the EFI variable wasn't really read.
src/basic/proc-cmdline.c