s3-smbd: Align debug level for the same information.
authorAndreas Schneider <asn@samba.org>
Wed, 26 Mar 2014 15:20:01 +0000 (16:20 +0100)
committerAndreas Schneider <asn@cryptomilk.org>
Tue, 1 Apr 2014 21:16:19 +0000 (23:16 +0200)
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

source3/smbd/server.c

index 9d6a250752ba92d2d652b8ff9b7d248e737c1f79..29e688d3f01fe4f2498256bc49ed6587d2034322 100644 (file)
@@ -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);
        }