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
313a86bf
Commit
313a86bf
authored
Aug 10, 2016
by
Hanspeter Spalinger
Browse files
check cmd even if user is whitelisted
parent
49b866ae
Changes
1
Show whitespace changes
Inline
Side-by-side
chkcrontab_lib.py
View file @
313a86bf
...
...
@@ -715,7 +715,7 @@ class CronLineTimeAction(object):
# User checks.
if
self
.
user
in
self
.
whitelisted_users
:
return
pass
elif
len
(
self
.
user
)
>
31
:
log
.
LineError
(
log
.
MSG_INVALID_USER
,
'Username too long "%s"'
%
self
.
user
)
...
...
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