diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-03-25 15:11:50 +0200 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-03-25 15:11:50 +0200 |
commit | 30185044bf831069b346a58b2b717b0f45a63f86 (patch) | |
tree | 5bf86ca8abc789d1fc44193845726dab37facabd /lib | |
parent | f0eb80177b77a16ace120f9fb8d03a36924c32b5 (diff) | |
download | gitlab-shell-30185044bf831069b346a58b2b717b0f45a63f86.tar.gz |
return non-zero status if gitlab-projects or gitlab-keys cmd was not successfulv1.2.0
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gitlab_keys.rb | 1 | ||||
-rw-r--r-- | lib/gitlab_projects.rb | 1 |
2 files changed, 2 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 diff --git a/lib/gitlab_projects.rb b/lib/gitlab_projects.rb index 8ef967a..aef343e 100644 --- a/lib/gitlab_projects.rb +++ b/lib/gitlab_projects.rb @@ -31,6 +31,7 @@ class GitlabProjects when 'import-project'; import_project else puts 'not allowed' + false end end |