Merge pull request #1400 from kimheino/master

kea: fix autoconf, it always returned "yes"
This commit is contained in:
Kenyon Ralph 2023-12-04 12:22:01 -08:00 committed by GitHub
commit 6c853b5a2e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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: