From 0e43e7790f2fc136498de70648a96dd9a70a36d3 Mon Sep 17 00:00:00 2001 From: Simone Rossetto Date: Fri, 4 Dec 2020 20:32:26 +0100 Subject: [PATCH] Plugin timesync_status: add support for 'fetch' command --- plugins/systemd/timesync_status | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/systemd/timesync_status b/plugins/systemd/timesync_status index e46f67de..d631eee0 100755 --- a/plugins/systemd/timesync_status +++ b/plugins/systemd/timesync_status @@ -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()