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

proper rm-user

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