Add command existence check for ping
This commit is contained in:
parent
d7a3feb6f3
commit
1de60a20d7
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue