diff --git a/main.c b/main.c index be99f0d..29bc6be 100644 --- a/main.c +++ b/main.c @@ -455,9 +455,7 @@ int main } if (getuid() != 0) { - /* This write to the terminal is OK, it comes before we turn into a daemon */ - fprintf(stderr,"Not superuser\n"); - return 1; + LOG_FATAL("Not superuser"); } /* Turn into a daemon */