]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/shared/bootspec.c
bootspec: remove redundant logging
[thirdparty/systemd.git] / src / shared / bootspec.c
index 5d8471c51a88144b6eddeffd68e5d7b2ad3ec285..38123faa630313b17978f7d551b2c9adbe789175 100644 (file)
@@ -362,12 +362,12 @@ int boot_entries_load_config(const char *esp_path, BootConfig *config) {
         p = strjoina(esp_path, "/loader/loader.conf");
         r = boot_loader_read_conf(p, config);
         if (r < 0)
-                return log_error_errno(r, "Failed to read boot config from \"%s\": %m", p);
+                return r;
 
         p = strjoina(esp_path, "/loader/entries");
         r = boot_entries_find(p, &config->entries, &config->n_entries);
         if (r < 0)
-                return log_error_errno(r, "Failed to read boot entries from \"%s\": %m", p);
+                return r;
 
         r = boot_entries_uniquify(config->entries, config->n_entries);
         if (r < 0)