Merge pull request #1400 from kimheino/master
kea: fix autoconf, it always returned "yes"
This commit is contained in:
commit
6c853b5a2e
|
@ -186,7 +186,7 @@ def fetch(data):
|
|||
|
||||
if __name__ == '__main__':
|
||||
if len(sys.argv) > 1 and sys.argv[1] == 'autoconf':
|
||||
print('yes' if read_data() else 'no (no Kea statistics)')
|
||||
print('yes' if read_data()[0] else 'no (no Kea statistics)')
|
||||
elif len(sys.argv) > 1 and sys.argv[1] == 'config':
|
||||
config(read_data())
|
||||
else:
|
||||
|
|
Loading…
Reference in New Issue