Skip to content

gitaly: Exit code 1 on error

Justin Tobler requested to merge jt-gitaly-exit-code into master

Currently in Gitaly when run() returns an error and exits the exit code returned is always 0. On error the exit code should be 1 to reflect that the process terminated due to an error. This change checks for errors returned by run() and exits with the appropriate error code.

Closes: #4238 (closed)

Edited by Justin Tobler

Merge request reports