Commit 43bdc5da authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Fix key removal

parent f3cf4a8b
...@@ -29,7 +29,7 @@ class GitlabKeys ...@@ -29,7 +29,7 @@ class GitlabKeys
end end
def rm_key def rm_key
cmd = "sed '/#{@key_id}/d' #{auth_file}" cmd = "sed -i '/#{@key_id}/d' #{auth_file}"
system(cmd) system(cmd)
end end
end end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment