parent
96c7f8d53f
commit
c0c0d8c600
|
@ -60,5 +60,10 @@ void Component::construct(Env &env)
|
|||
/* XXX execute constructors of global statics */
|
||||
env.exec_static_constructors();
|
||||
|
||||
static Main main(env);
|
||||
try { static Main main(env); }
|
||||
|
||||
catch (Net::Domain_tree::No_match) {
|
||||
error("failed to find configuration for domain 'uplink'");
|
||||
env.parent().exit(-1);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue