svn commit: samba r7356 - in branches/SAMBA_4_0/source/smbd: .
tridge at samba.org
tridge at samba.org
Tue Jun 7 08:33:17 GMT 2005
Author: tridge
Date: 2005-06-07 08:33:17 +0000 (Tue, 07 Jun 2005)
New Revision: 7356
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=7356
Log:
fixed the problem mkaplan reported with not being able to run without -i
Modified:
branches/SAMBA_4_0/source/smbd/server.c
Changeset:
Modified: branches/SAMBA_4_0/source/smbd/server.c
===================================================================
--- branches/SAMBA_4_0/source/smbd/server.c 2005-06-07 07:42:12 UTC (rev 7355)
+++ branches/SAMBA_4_0/source/smbd/server.c 2005-06-07 08:33:17 UTC (rev 7356)
@@ -213,8 +213,11 @@
should hang off that */
event_ctx = event_context_init(NULL);
- /* catch EOF on stdin */
- event_add_fd(event_ctx, event_ctx, 0, EVENT_FD_READ, server_stdin_handler, NULL);
+ if (interactive) {
+ /* catch EOF on stdin */
+ event_add_fd(event_ctx, event_ctx, 0, EVENT_FD_READ,
+ server_stdin_handler, NULL);
+ }
DEBUG(0,("Using %s process model\n", model));
status = server_service_startup(event_ctx, model, lp_server_services());
More information about the samba-cvs
mailing list