summaryrefslogtreecommitdiff
path: root/lib/gitlab_keys.rb
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-03-25 15:11:50 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-03-25 15:11:50 +0200
commit30185044bf831069b346a58b2b717b0f45a63f86 (patch)
tree5bf86ca8abc789d1fc44193845726dab37facabd /lib/gitlab_keys.rb
parentf0eb80177b77a16ace120f9fb8d03a36924c32b5 (diff)
downloadgitlab-shell-30185044bf831069b346a58b2b717b0f45a63f86.tar.gz
return non-zero status if gitlab-projects or gitlab-keys cmd was not successfulv1.2.0
Diffstat (limited to 'lib/gitlab_keys.rb')
-rw-r--r--lib/gitlab_keys.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/gitlab_keys.rb b/lib/gitlab_keys.rb
index 756dd96..2173f4c 100644
--- a/lib/gitlab_keys.rb
+++ b/lib/gitlab_keys.rb
@@ -18,6 +18,7 @@ class GitlabKeys
when 'rm-key'; rm_key
else
puts 'not allowed'
+ false
end
end