Add missing newline to "Forking into the background" display.
[srvx.git] / src / main.c
index e5556a8eec7fa4f3785353e5e9f23aae9b35f595..eaa284de86f1162bb2644530601e614cea0f3ee2 100644 (file)
@@ -27,6 +27,7 @@
 #include "saxdb.h"
 #include "mail.h"
 #include "timeq.h"
+#include "sar.h"
 
 #include "chanserv.h"
 #include "global.h"
@@ -249,7 +250,7 @@ int main(int argc, char *argv[])
        if (pid < 0) {
            fprintf(stderr, "Unable to fork: %s\n", strerror(errno));
         } else if (pid > 0) {
-           fprintf(stdout, "Forking into the background (pid: %d)...", pid);
+           fprintf(stdout, "Forking into the background (pid: %d)...\n", pid);
            exit(0);
        }
        setsid();
@@ -286,6 +287,7 @@ int main(int argc, char *argv[])
     init_parse();
     modcmd_init();
     saxdb_init();
+    sar_init();
     gline_init();
     mail_init();
     helpfile_init();