diff options
author | Herb Lewis <herb@samba.org> | 2002-01-07 21:32:22 +0000 |
---|---|---|
committer | Herb Lewis <herb@samba.org> | 2002-01-07 21:32:22 +0000 |
commit | 39d6b31e14144a3ff4b992d4286b706147e58566 (patch) | |
tree | 0782bd2ea27fc9bde828c0a91f64938159e47b05 /source/utils/status.c | |
parent | 2fcdc520cee051631bbc2a0c06466d231390f8d5 (diff) | |
download | samba-39d6b31e14144a3ff4b992d4286b706147e58566.tar.gz samba-39d6b31e14144a3ff4b992d4286b706147e58566.tar.xz samba-39d6b31e14144a3ff4b992d4286b706147e58566.zip |
merge changes from 2.2 branch to prevent smb.conf from changing debug level
of commands when specified on command line.
Diffstat (limited to 'source/utils/status.c')
-rw-r--r-- | source/utils/status.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/utils/status.c b/source/utils/status.c index e17a6589efe..98e601382b3 100644 --- a/source/utils/status.c +++ b/source/utils/status.c @@ -36,6 +36,8 @@ #include "includes.h" +extern BOOL AllowDebugChange; + struct session_record{ pid_t pid; uid_t uid; @@ -550,6 +552,7 @@ static int traverse_sessionid(TDB_CONTEXT *tdb, TDB_DATA kbuf, TDB_DATA dbuf, vo setup_logging(argv[0],True); + AllowDebugChange = False; DEBUGLEVEL = 0; dbf = x_stderr; |