[sysadmin-bin] Exit with code 0 even if encountered failures
- From: Bartłomiej Piotrowski <bpiotrowski src gnome org>
- To: gnome-sysadmin gnome org,commits-list gnome org
- Subject: [sysadmin-bin] Exit with code 0 even if encountered failures
- Date: Fri, 12 Mar 2021 14:38:33 +0000 (UTC)
commit bd8171db7cd768f7ca7a51ca6fba63b13309952c
Author: Bartłomiej Piotrowski <bpiotrowski gnome org>
Date: Fri Mar 12 15:37:27 2021 +0100
Exit with code 0 even if encountered failures
non-zero exit codes seem to confuse gitaly
see https://gitlab.com/gitlab-org/gitlab/-/issues/217558
git/gnome-post-receive | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/git/gnome-post-receive b/git/gnome-post-receive
index 2f813f2..4478cf0 100755
--- a/git/gnome-post-receive
+++ b/git/gnome-post-receive
@@ -48,8 +48,8 @@ export LC_MEASUREMENT="en_US.UTF-8"
export LC_IDENTIFICATION="en_US.UTF-8"
export LC_ALL=
-tee >($BINDIR/log-push 1>&2) \
+(tee >($BINDIR/log-push 1>&2) \
>($BINDIR/post-receive-update-description 1>&2) \
>($BINDIR/post-receive-notify-l10n 1>&2) \
>($BINDIR/post-receive-notify-kgb 1>&2) \
- | $BINDIR/gnome-post-receive-email 1>&2
+ | $BINDIR/gnome-post-receive-email 1>&2) || exit 0
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]