summaryrefslogtreecommitdiff
path: root/ratox.c
diff options
context:
space:
mode:
Diffstat (limited to 'ratox.c')
-rw-r--r--ratox.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ratox.c b/ratox.c
index 78fb665..3e7a02f 100644
--- a/ratox.c
+++ b/ratox.c
@@ -1376,6 +1376,8 @@ main(int argc, char *argv[])
usage();
} ARGEND;
+ setbuf(stdout, NULL);
+
signal(SIGHUP, initshutdown);
signal(SIGINT, initshutdown);
signal(SIGQUIT, initshutdown);
@@ -1383,8 +1385,6 @@ main(int argc, char *argv[])
signal(SIGTERM, initshutdown);
signal(SIGPIPE, SIG_IGN);
- setbuf(stdout, NULL);
-
printrat();
toxinit();
localinit();