Commit 5eac1f8f authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Merge pull request #51 from max-krasnyansky/rm-key-fix

Regex used in rm-key command is too lax
parents fc550205 199b2251
......@@ -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
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