From 6587cda27c86dbbc57bec8684b6a3eef831872db Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Sun, 20 Oct 2024 11:25:28 +0200 Subject: [PATCH] fix error output --- .woodpecker/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.woodpecker/test.yml b/.woodpecker/test.yml index 136566f..8612c8b 100644 --- a/.woodpecker/test.yml +++ b/.woodpecker/test.yml @@ -11,7 +11,7 @@ variables: commands: - | output=$(hass -c . --script check_config 2>&1) - filtered_output=$(echo "$output" | grep "ERROR" | grep -v "Unknown device") + filtered_output=$(echo "$output" | grep "ERROR" | grep -v "Unknown device" || true) if [ -n "$filtered_output" ]; then echo "$filtered_output" exit 1