diff options
Diffstat (limited to 'sysdep/unix/main.c')
-rw-r--r-- | sysdep/unix/main.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sysdep/unix/main.c b/sysdep/unix/main.c index 242cff0c..37c5e36e 100644 --- a/sysdep/unix/main.c +++ b/sysdep/unix/main.c @@ -396,8 +396,6 @@ main(int argc, char **argv) log_init_debug(""); log_init(debug_flag); - log(L_INFO "Launching BIRD " BIRD_VERSION "..."); - DBG("Initializing.\n"); resource_init(); olock_init(); @@ -416,7 +414,7 @@ main(int argc, char **argv) pid_t pid = fork(); if (pid < 0) die("fork: %m"); - if (!pid) + if (pid) return 0; setsid(); } |