summaryrefslogtreecommitdiff
path: root/lib/gitlab_keys.rb
diff options
context:
space:
mode:
authorJacob Vosmaer <contact@jacobvosmaer.nl>2014-05-30 11:44:38 +0200
committerJacob Vosmaer <contact@jacobvosmaer.nl>2014-05-30 11:44:38 +0200
commit2c5d04deb2e9252b346e5701da81f62f28f800db (patch)
treea6e5b2bb5afc29987ada73dcaf215559a82b1ea1 /lib/gitlab_keys.rb
parentc26647b9d919085c669f49c71d0646ac23b9c9d9 (diff)
downloadgitlab-shell-2c5d04deb2e9252b346e5701da81f62f28f800db.tar.gz
Put authorized_keys.lock in the .ssh directory
Diffstat (limited to 'lib/gitlab_keys.rb')
-rw-r--r--lib/gitlab_keys.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab_keys.rb b/lib/gitlab_keys.rb
index 675f5e1..faa0716 100644
--- a/lib/gitlab_keys.rb
+++ b/lib/gitlab_keys.rb
@@ -92,6 +92,6 @@ class GitlabKeys
end
def lock_file
- @lock_file ||= File.join(ROOT_PATH, "authorized_keys.lock")
+ @lock_file ||= auth_file + '.lock'
end
end