From 313480258fe7599347fb0a46395d7621e244824b Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Tue, 13 Jun 2017 14:55:25 +0200 Subject: reproducible Debian: be honest about dirt Signed-off-by: Holger Levsen --- bin/reproducible_node_health_check.sh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'bin') diff --git a/bin/reproducible_node_health_check.sh b/bin/reproducible_node_health_check.sh index c025cc77..686e035b 100755 --- a/bin/reproducible_node_health_check.sh +++ b/bin/reproducible_node_health_check.sh @@ -44,6 +44,7 @@ echo "$(date -u) - testing whether the proxy works..." curl http://www.debian.org > /dev/null if [ $? -ne 0 ] ; then echo "Warning: curl http://www.debian.org failed, probably the proxy is down for $HOSTNAME…" + DIRTY=true fi # @@ -91,6 +92,7 @@ fi echo "$(date -u) - testing whether the time is right..." if [ "$(date +%Y)" = "2019" ] ; then echo "Warning, today is the wrong future: $(date -u)." + DIRTY=true elif [ "$(date +%Y)" = "2018" ] ; then echo "Good, today is the right future: $(date -u)." else -- cgit v1.2.3-54-g00ecf