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:
parent
1283bec05e
commit
205205aefd
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user