X-Git-Url: http://dolda2000.com/gitweb/?a=blobdiff_plain;f=daemon%2Fmain.c;h=0693a3da69425d212805b042f2b5c2c84233d018;hb=2559e0776f70ab4a97e0edc08f5528ef221d86a3;hp=d0084683b3c7ae503a823fd0d943fb5cb09eecba;hpb=f7292a8b27d1ea458ece778207afbb8f386e9003;p=doldaconnect.git diff --git a/daemon/main.c b/daemon/main.c index d008468..0693a3d 100644 --- a/daemon/main.c +++ b/daemon/main.c @@ -385,6 +385,7 @@ int main(int argc, char **argv) struct child *child; double now; + now = ntime(); immsyslog = nofork = 0; syslogfac = LOG_DAEMON; configfile = NULL; @@ -494,6 +495,7 @@ int main(int argc, char **argv) fprintf(pfstream, "%i\n", getpid()); fclose(pfstream); } + flog(LOG_INFO, "startup took %f seconds", ntime() - now); running = 1; reinit = 0; while(running)