X-Git-Url: https://uglyman.kremlin.cc/gitweb/gitweb.cgi?p=systembsd.git;a=blobdiff_plain;f=src%2Fmain.c;h=c19b489c31633dea4c4a60cf041e8b8a23445971;hp=42a47790327192dcff2246781c09f9560b914ee2;hb=1cd91c9ccc0301e155901f137decbb0e1fcd93ea;hpb=15c779beb04802541e6b3ab0475243ca87674b75 diff --git a/src/main.c b/src/main.c index 42a4779..c19b489 100644 --- a/src/main.c +++ b/src/main.c @@ -2,7 +2,11 @@ #include "interfaces/hostnamed/hostnamed.c" int main() { - hostnamed_init(); + GMainLoop *mloop = NULL; + mloop = g_main_loop_new(NULL, FALSE); + hostnamed_init(); + g_main_loop_run(mloop); + return 0; }