From c3ab674cbbdc0c35fb37f99331f024c9a7131b5b Mon Sep 17 00:00:00 2001 From: Zachary Vance Date: Wed, 20 Apr 2016 23:58:41 -0700 Subject: [PATCH] print anything for ddns.za3k.com --- cgi-bin/service.status.d/ddns.za3k.com | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cgi-bin/service.status.d/ddns.za3k.com b/cgi-bin/service.status.d/ddns.za3k.com index 2a717a8..14c7a28 100644 --- a/cgi-bin/service.status.d/ddns.za3k.com +++ b/cgi-bin/service.status.d/ddns.za3k.com @@ -1,4 +1,6 @@ ALL=$(curl -iLs https://ddns.za3k.com) HEADER=$(echo "$ALL" | head -1) +echo "${HEADER}" echo "${ALL}" | grep -q "404 Not Found" >/dev/null || exit 1 echo "${ALL}" | grep -q "no domain" >/dev/null || exit 1 +echo "${ALL}" | tail -n1 -- 2.47.3