From 1de60a20d71ace2652f25fafd137dc1df94c760c Mon Sep 17 00:00:00 2001 From: Alex Povel Date: Mon, 29 Mar 2021 17:03:37 +0200 Subject: [PATCH] Add command existence check for ping --- tinystatus | 1 + 1 file changed, 1 insertion(+) diff --git a/tinystatus b/tinystatus index c80c6d9..ded7797 100755 --- a/tinystatus +++ b/tinystatus @@ -51,6 +51,7 @@ check(){ command_exists 'curl' command_exists 'nc' +command_exists 'ping' mkdir -p "${tmp}/ok" "${tmp}/ko" || exit 1 while IFS='\n' read -r line; do