summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHerb Lewis <herb@samba.org>2002-01-04 18:31:02 +0000
committerHerb Lewis <herb@samba.org>2002-01-04 18:31:02 +0000
commitf97ce504d2cd29b09793fec4bf532a2acce44e1a (patch)
tree0a83a1d520b94e4f152594444912d4b326a9b754
parentc10088a28db99b699e90f1e60cb21cf185c624c6 (diff)
downloadsamba-f97ce504d2cd29b09793fec4bf532a2acce44e1a.tar.gz
samba-f97ce504d2cd29b09793fec4bf532a2acce44e1a.tar.xz
samba-f97ce504d2cd29b09793fec4bf532a2acce44e1a.zip
set DEBUGLEVEL to 0 - we don't need to see all the smb.conf parsing msgs.
-rw-r--r--source/utils/smbcontrol.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/utils/smbcontrol.c b/source/utils/smbcontrol.c
index e533b5eb640..3b4781bb742 100644
--- a/source/utils/smbcontrol.c
+++ b/source/utils/smbcontrol.c
@@ -21,6 +21,8 @@
#include "includes.h"
+extern BOOL AllowDebugChange;
+
static struct {
char *name;
int value;
@@ -342,6 +344,8 @@ static BOOL do_command(char *dest, char *msg_name, int iparams, char **params)
TimeInit();
setup_logging(argv[0],True);
+ AllowDebugChange = False;
+ DEBUGLEVEL = 0;
charset_initialise();
if (argc < 2) usage(True);