From 0873b0458fd1717b9b089790bc2c46c73bf2bd50 Mon Sep 17 00:00:00 2001
From: Tavian Barnes <tavianator@tavianator.com>
Date: Sat, 8 Jun 2024 12:48:39 -0400
Subject: ci: Actually fail if the build fails

Fixes: 23e0487 ("ci: Surface compiler warnings/errors as GitHub actions messages")
---
 .github/diag.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/diag.sh b/.github/diag.sh
index 942487a..9388309 100755
--- a/.github/diag.sh
+++ b/.github/diag.sh
@@ -13,4 +13,4 @@ filter() {
 \1/'
 }
 
-"$@" 2> >(filter >&2) | filter
+"$@" > >(filter) 2> >(filter >&2)
-- 
cgit v1.2.3