mirror of
https://github.com/flynx/proxmox-utils.git
synced 2025-10-29 11:10:09 +00:00
...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
af43433b77
commit
c21350f15e
@ -203,6 +203,9 @@ check-http(){
|
|||||||
if [ "$(grep "$status_pattern" <<<$response)" ] ; then
|
if [ "$(grep "$status_pattern" <<<$response)" ] ; then
|
||||||
response=OK
|
response=OK
|
||||||
else
|
else
|
||||||
|
if [ -z $response ] ; then
|
||||||
|
response='Timeout?'
|
||||||
|
fi
|
||||||
response="ERROR ($response)"
|
response="ERROR ($response)"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user