Commit 451b4a64 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

proper rm-user

parent c6fa7e5e
...@@ -37,8 +37,7 @@ class GitlabKeys ...@@ -37,8 +37,7 @@ class GitlabKeys
end end
def rm_user def rm_user
cmd = "sed -i '/#{@username}/d' #{auth_file}" cmd = "sed -i '/gitlab-shell #{@username},/d' #{auth_file}"
puts cmd
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