From 7965c4b6ff1e7eae6e36529c68c9f58fd6b5d99e Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Tue, 21 Feb 2023 09:46:10 +0100 Subject: [PATCH] builds.sr.ht: gracefully fail if .gitter is missing --- .builds/scripts/notify-gitter | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.builds/scripts/notify-gitter b/.builds/scripts/notify-gitter index f1f5191d..22bf064c 100755 --- a/.builds/scripts/notify-gitter +++ b/.builds/scripts/notify-gitter @@ -1,6 +1,8 @@ #!/usr/bin/env bash set -eu +test -f ~/.gitter || exit 0 + GITTER=$(cat ~/.gitter) STATUS=$1 -- 2.30.2