diff options
author | Gerald Carter <jerry@samba.org> | 2002-01-30 05:45:09 +0000 |
---|---|---|
committer | Gerald Carter <jerry@samba.org> | 2002-01-30 05:45:09 +0000 |
commit | c3b9cc08e878cf06ba1bb916ef243c0edd6a15d6 (patch) | |
tree | bb590ffb4e874af4d746a5d8a95151ccc58b7b6a | |
parent | 967af63a5f05fcdaebb60dce5984bed9ff0e5ce6 (diff) | |
download | samba-c3b9cc08e878cf06ba1bb916ef243c0edd6a15d6.tar.gz samba-c3b9cc08e878cf06ba1bb916ef243c0edd6a15d6.tar.bz2 samba-c3b9cc08e878cf06ba1bb916ef243c0edd6a15d6.zip |
merge from 2.2
(This used to be commit 69a9c005c21833bdf22b72aaa3704bd14f627840)
-rw-r--r-- | source3/smbd/server.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/source3/smbd/server.c b/source3/smbd/server.c index 4d4c612b52..7647f45bea 100644 --- a/source3/smbd/server.c +++ b/source3/smbd/server.c @@ -781,7 +781,14 @@ static void usage(char *pname) DEBUG(3,( "loaded services\n")); if (!is_daemon && !is_a_socket(0)) { - DEBUG(0,("standard input is not a socket, assuming -D option\n")); + if (!interactive) + DEBUG(0,("standard input is not a socket, assuming -D option\n")); + + /* + * Setting is_daemon here prevents us from eventually calling + * the open_sockets_inetd() + */ + is_daemon = True; } |