From: Tom Yu Date: Wed, 28 Oct 2009 17:09:00 +0000 (+0000) Subject: Print a "starting..." message on stderr if running in nofork mode, for X-Git-Tag: krb5-1.8-alpha1~256 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=d0cd0d58a684ca3f10800aef11a80f5c8d625796;p=krb5.git Print a "starting..." message on stderr if running in nofork mode, for consistency with kadmind behavior. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23077 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/kdc/main.c b/src/kdc/main.c index 9ce3f4894..039d918d1 100644 --- a/src/kdc/main.c +++ b/src/kdc/main.c @@ -891,6 +891,8 @@ int main(int argc, char **argv) return 1; } krb5_klog_syslog(LOG_INFO, "commencing operation"); + if (nofork) + fprintf(stderr, "%s: starting...\n", kdc_progname); if ((retval = listen_and_process())) { kdc_err(kcontext, retval, "while processing network requests"); errout++;