From 5bba428b4c04f5f75471c04010117cb520edca22 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 7335a23..f2e7e34 100755 --- a/tinystatus +++ b/tinystatus @@ -53,6 +53,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