summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2014-09-30 12:32:59 +0200
committerFlorian Pritz <bluewind@xinu.at>2014-09-30 12:34:49 +0200
commit45002a9ed1f1198cb9122db2d4230dc1a6ecf862 (patch)
tree5dcbc2520d208aac5a4bbafd3b33ddf36c30b5e3
parent74ad1607b55b0a8d932ebdd3e284ca3aabfab074 (diff)
downloadw3watch-working.tar.gz
w3watch-working.tar.xz
Display URL when lynx failedworking
Allows for easier removal of invalid URLs. Signed-off-by: Florian Pritz <bluewind@xinu.at>
-rwxr-xr-xw3watch1
1 files changed, 1 insertions, 0 deletions
diff --git a/w3watch b/w3watch
index f61c760..ed17b62 100755
--- a/w3watch
+++ b/w3watch
@@ -68,6 +68,7 @@ check() {
fi
if [ $? -ne 0 ]; then
+ echo "$url failed" >&2
continue
fi