diff options
Diffstat (limited to 'bin/gitlab-projects')
-rwxr-xr-x | bin/gitlab-projects | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/bin/gitlab-projects b/bin/gitlab-projects index 21e4305..95d0475 100755 --- a/bin/gitlab-projects +++ b/bin/gitlab-projects @@ -16,6 +16,10 @@ require_relative '../lib/gitlab_init' # /bin/gitlab-projects import-project randx/six.git https://github.com/randx/six.git # require File.join(ROOT_PATH, 'lib', 'gitlab_projects') -GitlabProjects.new.exec -exit +# Return non-zero if command execution was not successful +if GitlabProjects.new.exec + exit 0 +else + exit 1 +end |