From: Zachary Vance Date: Fri, 15 Apr 2016 06:10:51 +0000 (-0700) Subject: Redundant X-Git-Url: https://git.za3k.com/?a=commitdiff_plain;h=84ef316d156bf86ca3423332e8e69d0899ef2cbe;p=za3k.git Redundant --- diff --git a/cgi-bin/ping? b/cgi-bin/ping? index f2c914e..e1fdc6a 100755 --- a/cgi-bin/ping? +++ b/cgi-bin/ping? @@ -1,2 +1,2 @@ -echo "$1 resolved to $(host "$1")" +host "$1" ping -c 1 -w 3 -q "$1" >/dev/null