diff options
Diffstat (limited to 'network/main.c')
-rw-r--r-- | network/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/network/main.c b/network/main.c index 9b201bf2..5e8f2739 100644 --- a/network/main.c +++ b/network/main.c @@ -66,11 +66,11 @@ int main(int argc, char *argv[]) /* Create event loop */ main_loop = g_main_loop_new(NULL, FALSE); - network_init(); - if (argc > 1 && !strcmp(argv[1], "-s")) internal_service("network"); + network_init(); + g_main_loop_run(main_loop); network_exit(); |