summaryrefslogtreecommitdiff
path: root/lib/gitlab_keys.rb
diff options
context:
space:
mode:
authorMichael <michael@fallo.ws>2013-03-10 06:05:23 -0700
committerMichael <michael@fallo.ws>2013-03-10 06:05:23 -0700
commit4bbda0b2590fc5081638c113c7cf74b60c8680b2 (patch)
tree69023666966e396663ee13c52e3b4b2edbf535a4 /lib/gitlab_keys.rb
parent381f4cdb0e5c625dc3def0bc66085dcb0ccd4efc (diff)
parentfc8bd8f760fac40287681894dfd9a45e8c4d0517 (diff)
downloadgitlab-shell-4bbda0b2590fc5081638c113c7cf74b60c8680b2.tar.gz
Merge pull request #1 from gitlabhq/master
Master Sync
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 9931e90..a7e5a40 100644
--- a/lib/gitlab_keys.rb
+++ b/lib/gitlab_keys.rb
@@ -28,7 +28,7 @@ class GitlabKeys
end
def rm_key
- cmd = "sed -i '/#{@key_id}/d' #{auth_file}"
+ cmd = "sed -i '/shell #{@key_id}/d' #{auth_file}"
system(cmd)
end
end