From 4e398e34bf140baf73fe8dceaf81078fb343f65a Mon Sep 17 00:00:00 2001 From: Ondrej Zajicek Date: Fri, 7 Feb 2014 13:09:55 +0100 Subject: Workaround thread-unsafeness of cli_echo(). --- sysdep/unix/main.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sysdep/unix/main.c') diff --git a/sysdep/unix/main.c b/sysdep/unix/main.c index 7a945826..e9217bc9 100644 --- a/sysdep/unix/main.c +++ b/sysdep/unix/main.c @@ -797,6 +797,8 @@ main(int argc, char **argv) dup2(0, 2); } + main_thread_init(); + write_pid_file(); signal_init(); -- cgit v1.2.3