aboutsummaryrefslogtreecommitdiffstats
path: root/fetchmail.c
diff options
context:
space:
mode:
Diffstat (limited to 'fetchmail.c')
-rw-r--r--fetchmail.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/fetchmail.c b/fetchmail.c
index 417f0424..a351e84e 100644
--- a/fetchmail.c
+++ b/fetchmail.c
@@ -325,8 +325,12 @@ int main (int argc, char **argv)
openlog(program_name, LOG_PID, LOG_MAIL);
#endif
- if (poll_interval && !nodetach)
- daemonize(logfile, termhook);
+ if (poll_interval)
+ {
+ if (!nodetach)
+ daemonize(logfile, termhook);
+ error( 0, 0, "starting fetchmail %s.%s daemon ", RELEASE_ID, PATCHLEVEL);
+ }
/* beyond here we don't want more than one fetchmail running per user */
umask(0077);