From be70fd8207aacc84e01935997ae0e873c05f5019 Mon Sep 17 00:00:00 2001
From: Chizi123 <build@jsrv.com>
Date: Wed, 07 Oct 2020 22:49:39 +0000
Subject: [PATCH] Send email for all errors, not just first

---
 main.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/main.sh b/main.sh
index f135478..6b11a67 100755
--- a/main.sh
+++ b/main.sh
@@ -219,7 +219,7 @@
 	echo "To: $EMAIL"
 	echo "Subject: Build errors"
 	echo "There were build errors for the build of $REPONAME at $(date), please address them soon."
-	echo "The errors were: $1"
+	echo "The errors were: $@"
 	) | sendmail -t
 }
 

--
Gitblit v1.9.3