Add command existence check for ping
parent
4bc6382e0a
commit
5bba428b4c
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue