summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@digital-scurf.org>2016-12-13 12:45:51 +0000
committerDaniel Silverstone <dsilvers@digital-scurf.org>2016-12-13 12:58:06 +0000
commit6fd17bfdddff8e7cc1f033fe25afc70acdb4e22f (patch)
treeb370d4c86cccc7fa8c971d67b2a8d7d71526a18b /bin
parentaef8eae51ee615379c4bbc5d190ebdf9c6444874 (diff)
downloadgitano-6fd17bfdddff8e7cc1f033fe25afc70acdb4e22f.tar.gz
Ensure we propagate exit codes
Diffstat (limited to 'bin')
-rw-r--r--bin/gitano-auth.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/gitano-auth.in b/bin/gitano-auth.in
index 2dc6184..b8a5cdc 100644
--- a/bin/gitano-auth.in
+++ b/bin/gitano-auth.in
@@ -44,7 +44,8 @@ if authorized then
user, config, env, repo)
if exit ~= 0 then
- gitano.log.fatal(gitano.i18n.expand("ERROR_COMMAND_FAILED"))
+ gitano.log.critical(gitano.i18n.expand("ERROR_COMMAND_FAILED"))
+ luxio._exit(exit)
end
else
gitano.log.fatal(gitano.i18n.expand("ERROR_NOT_AUTHORISED"))