Add command existence check for ping

main
Alex Povel 2021-03-29 17:03:37 +02:00 committed by BDR
parent 4bc6382e0a
commit 5bba428b4c
1 changed files with 1 additions and 0 deletions

View File

@ -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