mirror of
https://github.com/systemd/systemd.git
synced 2024-10-28 11:55:44 +03:00
bootctl: downgrade to log messages that aren't actually errors
This commit is contained in:
parent
7fd66f3c3d
commit
48184e4391
@ -181,13 +181,13 @@ static int status_binaries(const char *esp_path, sd_id128_t partition) {
|
||||
|
||||
r = enumerate_binaries(esp_path, "EFI/systemd", NULL);
|
||||
if (r == 0)
|
||||
log_error("systemd-boot not installed in ESP.");
|
||||
log_info("systemd-boot not installed in ESP.");
|
||||
else if (r < 0)
|
||||
return r;
|
||||
|
||||
r = enumerate_binaries(esp_path, "EFI/BOOT", "boot");
|
||||
if (r == 0)
|
||||
log_error("No default/fallback boot loader installed in ESP.");
|
||||
log_info("No default/fallback boot loader installed in ESP.");
|
||||
else if (r < 0)
|
||||
return r;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user