summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2012-10-08 11:18:03 +0200
committerMichael Adam <obnox@samba.org>2012-10-19 12:14:57 +0200
commit1de9e714756b65b1e15fae044bde065bb2572b16 (patch)
tree161e14ebe554470c05b5fb294c3f534217d281e4
parente3a48bb5f65bf9f5b77df010dcb75fcc9721cf3b (diff)
downloadsamba-1de9e714756b65b1e15fae044bde065bb2572b16.tar.gz
samba-1de9e714756b65b1e15fae044bde065bb2572b16.tar.bz2
samba-1de9e714756b65b1e15fae044bde065bb2572b16.zip
buildtools/wafsamba: only display 'ok' if the result is True
Otherwise we print the raw value. metze Signed-off-by: Michael Adam <obnox@samba.org>
-rw-r--r--buildtools/wafsamba/samba_autoconf.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/buildtools/wafsamba/samba_autoconf.py b/buildtools/wafsamba/samba_autoconf.py
index 5d3cc5a688..76316d28e6 100644
--- a/buildtools/wafsamba/samba_autoconf.py
+++ b/buildtools/wafsamba/samba_autoconf.py
@@ -62,8 +62,8 @@ def COMPOUND_END(conf, result):
conf.check_message_1 = conf.saved_check_message_1
conf.check_message_2 = conf.saved_check_message_2
p = conf.check_message_2
- if result:
- p('ok ')
+ if result is True:
+ p('ok')
elif not result:
p('not found', 'YELLOW')
else: