svn rev #23077: trunk/src/kdc/

tlyu@MIT.EDU tlyu at MIT.EDU
Wed Oct 28 13:09:01 EDT 2009


http://src.mit.edu/fisheye/changelog/krb5/?cs=23077
Commit By: tlyu
Log Message:
Print a "starting..." message on stderr if running in nofork mode, for
consistency with kadmind behavior.


Changed Files:
U   trunk/src/kdc/main.c
Modified: trunk/src/kdc/main.c
===================================================================
--- trunk/src/kdc/main.c	2009-10-28 01:06:09 UTC (rev 23076)
+++ trunk/src/kdc/main.c	2009-10-28 17:09:00 UTC (rev 23077)
@@ -891,6 +891,8 @@
 	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++;




More information about the cvs-krb5 mailing list