From 2eaecfd25426f23ca5fb20aefb65c3a629e326fe Mon Sep 17 00:00:00 2001 From: Kevin Lyda <kevin@ie.suberic.net> Date: Mon, 2 Jan 2017 21:11:20 +0000 Subject: [PATCH] Fix option parsing for real (fix options access). --- chkcrontab | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chkcrontab b/chkcrontab index 77aa14f..b521247 100755 --- a/chkcrontab +++ b/chkcrontab @@ -41,7 +41,7 @@ def main(argv): (options, args) = parse_chkcrontab_options(argv) for crontab in args[1:]: print('Checking correctness of %s' % crontab) - return check.check_crontab(crontab, log, options['whitelisted_users']) + return check.check_crontab(crontab, log, options.whitelisted_users) def parse_chkcrontab_options(argv): """Parse the options for chkcrontab. -- GitLab