gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-deployment] branch master updated: exit 1 for broken links


From: gnunet
Subject: [taler-deployment] branch master updated: exit 1 for broken links
Date: Thu, 18 Jun 2020 06:12:20 +0200

This is an automated email from the git hooks/post-receive script.

buck pushed a commit to branch master
in repository deployment.

The following commit(s) were added to refs/heads/master by this push:
     new b0945a5  exit 1 for broken links
b0945a5 is described below

commit b0945a51b8eb663622ec7c5df5af94654a046e10
Author: buckE <buckE@disroot.org>
AuthorDate: Thu Jun 18 04:11:59 2020 +0000

    exit 1 for broken links
---
 buildbot/linkchecker.sh | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/buildbot/linkchecker.sh b/buildbot/linkchecker.sh
index 5a02d07..6395a31 100755
--- 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

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]