summaryrefslogtreecommitdiff
path: root/lib/gitlab_keys.rb
diff options
context:
space:
mode:
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 2173f4c..7e6362a 100644
--- a/lib/gitlab_keys.rb
+++ b/lib/gitlab_keys.rb
@@ -31,7 +31,7 @@ class GitlabKeys
end
def rm_key
- cmd = "sed -i '/shell #{@key_id}/d' #{auth_file}"
+ cmd = "sed -i '/shell #{@key_id}\"/d' #{auth_file}"
system(cmd)
end
end