Add command existence check for ping

main
Alex Povel 2021-03-29 17:03:37 +02:00
parent d7a3feb6f3
commit 1de60a20d7
1 changed files with 1 additions and 0 deletions

View File

@ -51,6 +51,7 @@ check(){
command_exists 'curl' command_exists 'curl'
command_exists 'nc' command_exists 'nc'
command_exists 'ping'
mkdir -p "${tmp}/ok" "${tmp}/ko" || exit 1 mkdir -p "${tmp}/ok" "${tmp}/ko" || exit 1
while IFS='\n' read -r line; do while IFS='\n' read -r line; do