diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-02-04 08:56:51 +0200 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-02-04 08:56:51 +0200 |
commit | 451b4a64c0a3e39902ad87dfe034c58d8c6d45dc (patch) | |
tree | 7d8a33f43348fc5527ec0f13e9eb43bf50365fa0 /lib/gitlab_keys.rb | |
parent | c6fa7e5e86d7fdb5fcba88bdb8a4f506aabd3305 (diff) | |
download | gitlab-shell-451b4a64c0a3e39902ad87dfe034c58d8c6d45dc.tar.gz |
proper rm-user
Diffstat (limited to 'lib/gitlab_keys.rb')
-rw-r--r-- | lib/gitlab_keys.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/gitlab_keys.rb b/lib/gitlab_keys.rb index 7defc45..3612bca 100644 --- a/lib/gitlab_keys.rb +++ b/lib/gitlab_keys.rb @@ -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 |