summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2017-10-03 06:51:14 +0000
committerDouwe Maan <douwe@gitlab.com>2017-10-03 06:51:14 +0000
commitbdc50ed779cb0c7d266c0f80f3e66a25da8b1964 (patch)
tree551f827437812b09c561259f5060c79c360303b1 /lib
parentea4c3371a738aa5b1825f9ea45ff7fdf64e889f8 (diff)
parent43c712f5dd40f69bc198670b6d778b7a61060318 (diff)
downloadgitlab-ce-bdc50ed779cb0c7d266c0f80f3e66a25da8b1964.tar.gz
Merge branch '38635-fix-gitlab-check-git-ssh-config' into 'master'
Whitelist authorized_keys.lock in the gitlab:check rake task Closes #38635 See merge request gitlab-org/gitlab-ce!14624
Diffstat (limited to 'lib')
-rw-r--r--lib/system_check/app/git_user_default_ssh_config_check.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/system_check/app/git_user_default_ssh_config_check.rb b/lib/system_check/app/git_user_default_ssh_config_check.rb
index 7b486d78cf0..dfa8b8b3f5b 100644
--- a/lib/system_check/app/git_user_default_ssh_config_check.rb
+++ b/lib/system_check/app/git_user_default_ssh_config_check.rb
@@ -5,6 +5,7 @@ module SystemCheck
# whitelisted as it may change the SSH client's behaviour dramatically.
WHITELIST = %w[
authorized_keys
+ authorized_keys.lock
authorized_keys2
known_hosts
].freeze