mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-10-28 03:25:27 +03:00
bootctl: fix error message check
This commit is contained in:
parent
25579a43ef
commit
c18532e031
@ -1049,7 +1049,7 @@ static int bootctl_main(int argc, char*argv[]) {
|
||||
if (loader_path)
|
||||
efi_tilt_backslashes(loader_path);
|
||||
r = efi_loader_get_device_part_uuid(&loader_part_uuid);
|
||||
if (r < 0 && r == -ENOENT)
|
||||
if (r < 0 && r != -ENOENT)
|
||||
log_warning_errno(r, "Failed to read EFI variable LoaderDevicePartUUID: %m");
|
||||
|
||||
printf("System:\n");
|
||||
|
Loading…
Reference in New Issue
Block a user