summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/server.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/smbd/server.c b/source3/smbd/server.c
index 50f09cf6e6..02f52e2392 100644
--- a/source3/smbd/server.c
+++ b/source3/smbd/server.c
@@ -589,6 +589,7 @@ static void usage(char *pname)
int main(int argc,char *argv[])
{
extern BOOL append_log;
+ extern BOOL AllowDebugChange;
extern char *optarg;
/* shall I run as a daemon */
BOOL is_daemon = False;
@@ -645,6 +646,7 @@ static void usage(char *pname)
DEBUGLEVEL = 10000;
else
DEBUGLEVEL = atoi(optarg);
+ AllowDebugChange = False;
break;
case 'p':