diff --git a/chkcrontab_lib.py b/chkcrontab_lib.py index f8943e81ff7aaa795b01b240fbc578aa5e020ecb..9eab90f2e8bdb050a56a66868a88f39de1402e39 100755 --- a/chkcrontab_lib.py +++ b/chkcrontab_lib.py @@ -84,7 +84,7 @@ USER_WHITELIST = set(('postgres', 'buildbot', # The following extensions imply further postprocessing or that the slack # role was for a cron that allowed dots in cron scripts. FILE_RE_WHITELIST = [re.compile(x) for x in - ('\.in$', '\.cron$', '\.disabled$')] + (r'\.in$', r'\.cron$', r'\.disabled$', r'^(\S+\.)?cron\.d$')] class FSM(object):