mirror of
https://github.com/samba-team/samba.git
synced 2024-12-31 17:18:04 +03:00
s3-smbd: Align debug level for the same information.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=10388 Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Alexander Bokovoy <ab@samba.org> Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org> Autobuild-Date(master): Tue Apr 1 23:16:19 CEST 2014 on sn-devel-104
This commit is contained in:
parent
c7c969439d
commit
547f682c15
@ -1307,8 +1307,10 @@ extern void build_options(bool screen);
|
||||
#endif
|
||||
|
||||
if (!is_daemon && !is_a_socket(0)) {
|
||||
if (!interactive)
|
||||
DEBUG(0,("standard input is not a socket, assuming -D option\n"));
|
||||
if (!interactive) {
|
||||
DEBUG(3, ("Standard input is not a socket, "
|
||||
"assuming -D option\n"));
|
||||
}
|
||||
|
||||
/*
|
||||
* Setting is_daemon here prevents us from eventually calling
|
||||
@ -1319,7 +1321,7 @@ extern void build_options(bool screen);
|
||||
}
|
||||
|
||||
if (is_daemon && !interactive) {
|
||||
DEBUG( 3, ( "Becoming a daemon.\n" ) );
|
||||
DEBUG(3, ("Becoming a daemon.\n"));
|
||||
become_daemon(Fork, no_process_group, log_stdout);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user