taler-deployment

Deployment scripts and configuration files
Log | Files | Refs | README

commit b0945a51b8eb663622ec7c5df5af94654a046e10
parent 9a78c329b3edd37e8918cf6bb00a25661094e0fd
Author: buckE <buckE@disroot.org>
Date:   Thu, 18 Jun 2020 04:11:59 +0000

exit 1 for broken links

Diffstat:
Mbuildbot/linkchecker.sh | 7++-----
1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/buildbot/linkchecker.sh b/buildbot/linkchecker.sh @@ -5,9 +5,6 @@ ## This script will scan www.taler.net for broken links and e-mail a copy of the log if any are found. -# For debug: -touch /home/linkchecker/scriptRan - logfile="linkchecker.log" # Remove old log @@ -25,7 +22,7 @@ fi echo echo "Running this command:" echo " wget --spider -r -nd -nv -H -l 1 -w 2 -o $logfile https://www.taler.net/" -wget --spider -r -nd -nv -H -l 1 -w 2 -o $logfile https://www.taler.net/ +wget --spider -r -nd -nv -H -l 1 -w 2 -o $logfile https://www.taler.net/ echo @@ -33,7 +30,7 @@ echo if grep -iRl 'broken link!!' $logfile then echo "Found broken links. !! TODO: Send message here" - exit 0 + exit 1 else echo "No broken links found. Nothing more to do." exit 0