diff options
author | Douwe Maan <douwe@gitlab.com> | 2015-04-06 12:30:21 +0200 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2015-04-06 13:08:51 +0200 |
commit | f64e5d4a075479846f2e18bb34b84eb26d180f57 (patch) | |
tree | 436f8840ecdd060f20d282bd7165fa4765c277fa /bin/gitlab-shell | |
parent | 8f0f67622971d1861769a9deac6b102c9fdaed42 (diff) | |
download | gitlab-shell-nice-error-message.tar.gz |
Write GitlabShell error to stderr.nice-error-message
Diffstat (limited to 'bin/gitlab-shell')
-rwxr-xr-x | bin/gitlab-shell | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/bin/gitlab-shell b/bin/gitlab-shell index 4b3dc16..8154029 100755 --- a/bin/gitlab-shell +++ b/bin/gitlab-shell @@ -13,6 +13,9 @@ require_relative '../lib/gitlab_init' # # require File.join(ROOT_PATH, 'lib', 'gitlab_shell') -GitlabShell.new.exec -exit +if GitlabShell.new.exec + exit 0 +else + exit 1 +end |