1
0
Fork 0
mirror of https://github.com/munin-monitoring/contrib.git synced 2025-07-22 14:16:00 +00:00

Plugin timesync_status: add support for 'fetch' command

This commit is contained in:
Simone Rossetto 2020-12-04 20:32:26 +01:00 committed by Lars Kruse
parent 0791c99e74
commit 0e43e7790f

View file

@ -132,7 +132,7 @@ def config():
if __name__ == '__main__':
if len(sys.argv) == 1:
if len(sys.argv) == 1 or sys.argv[1] == 'fetch':
retrieve()
elif sys.argv[1] == 'config':
config()