This commit is contained in:
Louis Bettens 2022-12-08 18:02:18 +01:00
parent 0c4d5b79ee
commit 2ad8073808
No known key found for this signature in database

View File

@ -54,7 +54,9 @@ struct CmdCreate : virtual EvalCommand, virtual MixProfile {
fs::path("/etc/miniguests") / guest_name / "miniguest-config.json";
try {
return nlohmann::json::parse(readFile(path)).get<GuestConfig>();
} catch (SysError &err) { logWarning(err.info()); }
} catch (SysError &err) {
logWarning(err.info());
}
warn("metadata unavailable: falling back to defaults");
return {};
}