diff options
author | Daniel Silverstone <dsilvers@digital-scurf.org> | 2016-12-13 12:45:51 +0000 |
---|---|---|
committer | Daniel Silverstone <dsilvers@digital-scurf.org> | 2016-12-13 12:58:06 +0000 |
commit | 6fd17bfdddff8e7cc1f033fe25afc70acdb4e22f (patch) | |
tree | b370d4c86cccc7fa8c971d67b2a8d7d71526a18b /bin | |
parent | aef8eae51ee615379c4bbc5d190ebdf9c6444874 (diff) | |
download | gitano-6fd17bfdddff8e7cc1f033fe25afc70acdb4e22f.tar.gz |
Ensure we propagate exit codes
Diffstat (limited to 'bin')
-rw-r--r-- | bin/gitano-auth.in | 3 |
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")) |