Merge pull request #2278 from Negens/patch-2
Update the check_running() function in refine
This commit is contained in:
commit
8abf1d8ebf
3
refine
3
refine
@ -157,7 +157,8 @@ check_running() {
|
|||||||
|
|
||||||
if [ "$CURL" ] ; then
|
if [ "$CURL" ] ; then
|
||||||
curl -s -S -f $URL > /dev/null 2>&1
|
curl -s -S -f $URL > /dev/null 2>&1
|
||||||
if [ "$?" = "7" ] || [ "$?" = "22" ] ; then
|
CURL_RETURN=$?
|
||||||
|
if [ $CURL_RETURN -eq "7" ] || [ $CURL_RETURN -eq "22" ] ; then
|
||||||
NOT_RUNNING="1"
|
NOT_RUNNING="1"
|
||||||
fi
|
fi
|
||||||
elif [ "$WGET" ] ; then
|
elif [ "$WGET" ] ; then
|
||||||
|
Loading…
Reference in New Issue
Block a user