diff --git a/src/pipe.c b/src/pipe.c index 600828c50..3727fc725 100644 --- a/src/pipe.c +++ b/src/pipe.c @@ -293,6 +293,14 @@ check: if (optarg == endptr) if (ret) error("Failed to initialize signals"); + ret = super_node_init(&sn); + if (ret) + error("Failed to initialize super-node"); + + ret = super_node_parse_uri(&sn, configfile); + if (ret) + error("Failed to parse configuration"); + ret = memory_init(sn.hugepages); if (ret) error("Failed to initialize memory"); @@ -313,14 +321,6 @@ check: if (optarg == endptr) if (ret) error("Failed to open IO"); - ret = super_node_init(&sn); - if (ret) - error("Failed to initialize super-node"); - - ret = super_node_parse_uri(&sn, configfile); - if (ret) - error("Failed to parse configuration"); - node = list_lookup(&sn.nodes, nodestr); if (!node) error("Node '%s' does not exist!", nodestr);