diff --git a/chkcrontab b/chkcrontab index 77aa14f975e33b85e2fd7aff13bd7e8f656c6cc4..b521247bd86e076d1b29b7754050c1952b0249da 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.