diff --git a/src/villas-pipe.cpp b/src/villas-pipe.cpp index 31d83e3c1..0133454e2 100644 --- a/src/villas-pipe.cpp +++ b/src/villas-pipe.cpp @@ -305,10 +305,6 @@ check: if (optarg == endptr) if (ret) error("Failed to initialize log"); - ret = log_open(&sn.log); - if (ret) - error("Failed to start log"); - ret = signals_init(quit); if (ret) error("Failed to initialize signals"); @@ -321,6 +317,10 @@ check: if (optarg == endptr) if (ret) error("Failed to parse configuration"); + ret = log_open(&sn.log); + if (ret) + error("Failed to start log"); + ret = memory_init(sn.hugepages); if (ret) error("Failed to initialize memory");