Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Kevin Lyda
chkcrontab
Commits
2eaecfd2
Commit
2eaecfd2
authored
Jan 02, 2017
by
Kevin Lyda
💬
Browse files
Fix option parsing for real (fix options access).
parent
4bf20bf6
Changes
1
Show whitespace changes
Inline
Side-by-side
chkcrontab
View file @
2eaecfd2
...
...
@@ -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.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment