From: Pierre-Marc Fournier Date: Sat, 27 Feb 2010 17:01:55 +0000 (-0500) Subject: ust_fork(): create listener after iniializing socket X-Git-Tag: v1.9.1~699 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=9fb49d0eb803eec381fcdc340fff3c7fe9c33742;p=lttng-ust.git ust_fork(): create listener after iniializing socket --- diff --git a/libust/tracectl.c b/libust/tracectl.c index af0149a5..c34a3ce4 100644 --- a/libust/tracectl.c +++ b/libust/tracectl.c @@ -1474,8 +1474,8 @@ static void ust_fork(void) } have_listener = 0; - create_listener(); init_socket(); + create_listener(); ltt_trace_setup("auto"); result = ltt_trace_set_type("auto", "ustrelay"); if(result < 0) {