From d0cd0d58a684ca3f10800aef11a80f5c8d625796 Mon Sep 17 00:00:00 2001 From: Tom Yu Date: Wed, 28 Oct 2009 17:09:00 +0000 Subject: [PATCH] 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 --- src/kdc/main.c | 2 ++ 1 file changed, 2 insertions(+) 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++; -- 2.26.2