diff options
author | Lennart Poettering <lennart@poettering.net> | 2016-07-19 18:40:03 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2016-07-21 11:10:35 +0200 |
commit | c18532e031d2923e095a189999c289be13aea7b8 (patch) | |
tree | 789e335be48828975db37091478332fc20bcb6dd /src/boot | |
parent | 25579a43efcf5fdced4041427164e0852c035ab0 (diff) |
bootctl: fix error message check
Diffstat (limited to 'src/boot')
-rw-r--r-- | src/boot/bootctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/boot/bootctl.c b/src/boot/bootctl.c index 6e0c961527..f337eb6675 100644 --- a/src/boot/bootctl.c +++ b/src/boot/bootctl.c @@ -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"); |