mirror of
https://github.com/samba-team/samba.git
synced 2025-12-16 00:23:52 +03:00
samba-tool testparm: avoid lowering debug level
Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Reviewed-by: Ralph Boehme <slow@samba.org>
This commit is contained in:
committed by
Ralph Boehme
parent
000dcc2654
commit
6cafe36740
@@ -79,7 +79,8 @@ class cmd_testparm(Command):
|
||||
raise CommandError(err)
|
||||
|
||||
# We need this to force the output
|
||||
samba.set_debug_level(2)
|
||||
if samba.get_debug_level() < 2:
|
||||
samba.set_debug_level(2)
|
||||
|
||||
logger = self.get_logger("testparm")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user