From bbd3940868c34a3ba4028e2bff4982aee0c4c2d6 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Thu, 30 Mar 2023 16:28:12 -0300 Subject: git-post-receive.sh: Redirect STDOUT and STDERR so that the terminal SSH session can be terminated --- src/infrastructure/ci/git-post-receive.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/infrastructure/ci/git-post-receive.sh b/src/infrastructure/ci/git-post-receive.sh index c21931e..f0dce5d 100755 --- a/src/infrastructure/ci/git-post-receive.sh +++ b/src/infrastructure/ci/git-post-receive.sh @@ -146,7 +146,7 @@ mkdtemp() { -a \ "$DIR"/ "$HTML_OUTDIR_CI"/ rm -rf "$DIR" - } 2>&1 | logger -p local0.warn -t git-ci & + } 2>&1 | logger -p local0.warn -t git-ci 1>/dev/null 2>&1 & } trap finish EXIT -- cgit v1.2.3