mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-20 22:23:16 +00:00
parent
cb9b2724de
commit
afe996df74
@ -157,6 +157,7 @@ int main(int, char **)
|
|||||||
catch (...) { }
|
catch (...) { }
|
||||||
|
|
||||||
/* create children */
|
/* create children */
|
||||||
|
try {
|
||||||
Genode::Xml_node start_node = Genode::config()->xml_node().sub_node("start");
|
Genode::Xml_node start_node = Genode::config()->xml_node().sub_node("start");
|
||||||
for (;; start_node = start_node.next("start")) {
|
for (;; start_node = start_node.next("start")) {
|
||||||
|
|
||||||
@ -167,6 +168,10 @@ int main(int, char **)
|
|||||||
|
|
||||||
if (start_node.is_last("start")) break;
|
if (start_node.is_last("start")) break;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
catch (Genode::Xml_node::Nonexistent_sub_node) {
|
||||||
|
PERR("No children to start");
|
||||||
|
}
|
||||||
|
|
||||||
/* start children */
|
/* start children */
|
||||||
children.start();
|
children.start();
|
||||||
|
Loading…
Reference in New Issue
Block a user