mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-25 18:38:30 +00:00
Fix exit code for autoconf
The plugin should always return 0
This commit is contained in:
parent
1283bec05e
commit
205205aefd
1 changed files with 1 additions and 1 deletions
|
@ -378,7 +378,7 @@ if len(sys.argv) > 1:
|
||||||
elif action == "autoconf":
|
elif action == "autoconf":
|
||||||
if not successful_import:
|
if not successful_import:
|
||||||
print('no (required modules not found)')
|
print('no (required modules not found)')
|
||||||
sys.exit(1)
|
sys.exit(0)
|
||||||
print('yes')
|
print('yes')
|
||||||
elif action == "suggest":
|
elif action == "suggest":
|
||||||
for mode in modes:
|
for mode in modes:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue