aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2016-12-01 12:12:32 +0100
committerMichael Adam <obnox@samba.org>2016-12-01 16:12:35 +0100
commitab708f13de98ceb5b07794a5a2a488f6d9dd5240 (patch)
tree4ad8a50ecd12ac3e61620b72b98a179fe5efe4a0
parent490c7b05b1670de47fe8540486137b17383949b9 (diff)
downloadsos-ab708f13de98ceb5b07794a5a2a488f6d9dd5240.tar.gz
[samba] use output of testparm -s without -v instead of with -v
testparm -v prints the values of all options, including the compiled in defaults. The output of testparm with*out* -v is much more helpful in that it only outputs the non-default options. Signed-off-by: Michael Adam <obnox@samba.org>
-rw-r--r--sos/plugins/samba.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sos/plugins/samba.py b/sos/plugins/samba.py
index 2b07f1f1..1482593c 100644
--- a/sos/plugins/samba.py
+++ b/sos/plugins/samba.py
@@ -32,7 +32,7 @@ class Samba(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin):
self.add_cmd_output([
"wbinfo --domain='.' -g",
"wbinfo --domain='.' -u",
- "testparm -s -v"
+ "testparm -s",
])