mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-24 09:57:09 +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":
|
||||
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…
Add table
Add a link
Reference in a new issue