From 413dc1b0b4efc93755507134cb9a6d092c02aea2 Mon Sep 17 00:00:00 2001 From: Reiner Herrmann Date: Wed, 26 Jan 2011 18:05:40 +0100 Subject: wait until child (server) terminates at end --- src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main.c') diff --git a/src/main.c b/src/main.c index 8ab12f3..71beb56 100644 --- a/src/main.c +++ b/src/main.c @@ -65,5 +65,5 @@ int main(int argc, char *argv[]) start_game(servermode, addr, port, num_players); - return EXIT_SUCCESS; + exit(EXIT_SUCCESS); } -- cgit v1.2.3