2
0
mirror of https://github.com/munin-monitoring/contrib.git synced 2018-11-08 00:59:34 +01:00

Fix exit code for autoconf

The plugin should always return 0
This commit is contained in:
Neraud 2017-07-30 09:40:31 +02:00
parent 1283bec05e
commit 205205aefd

View File

@ -378,7 +378,7 @@ if len(sys.argv) > 1:
elif action == "autoconf":
if not successful_import:
print('no (required modules not found)')
sys.exit(1)
sys.exit(0)
print('yes')
elif action == "suggest":
for mode in modes: