mirror of
https://github.com/0xbbjubjub/miniguest.git
synced 2024-09-11 05:55:35 +03:00
fmt
This commit is contained in:
parent
0c4d5b79ee
commit
2ad8073808
@ -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 {};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user