fix: zdefend-fix(action.sh): missing timeout check & wrong exit condition
Signed-off-by: Cuynu <cuynu@proton.me>
This commit is contained in:
parent
393f25caf0
commit
ad692e5db0
1 changed files with 1 additions and 1 deletions
|
|
@ -111,7 +111,7 @@ zimperiumpresent() {
|
|||
|
||||
strongerzimperium() {
|
||||
echo "Testing network..."
|
||||
curl -s google.com | grep -q html* || echo "No network available, Cannot continue:(" && exit 1
|
||||
curl -s --max-time 5 google.com | grep -q html* || echo "No network available, Cannot continue:(" || exit 1
|
||||
echo "Testing zimperium..."
|
||||
curl -s --max-time 10 gts.zimperium.com | grep -q html* && zimperiumpresent
|
||||
echo "Enabling [com.mbmobile] app..."
|
||||
|
|
|
|||
Loading…
Reference in a new issue