mirror of https://gitlab.com/ita1024/waf.git
Always return a value which evaluates to True when check_cfg succeeds.
This commit is contained in:
parent
ca60d62bed
commit
86b87413c8
|
@ -386,6 +386,8 @@ def check_cfg(self, *k, **kw):
|
|||
else:
|
||||
self.fatal('The configuration failed')
|
||||
else:
|
||||
if not ret:
|
||||
ret = True
|
||||
kw['success'] = ret
|
||||
if 'okmsg' in kw:
|
||||
self.end_msg(self.ret_msg(kw['okmsg'], kw))
|
||||
|
|
Loading…
Reference in New Issue