summaryrefslogtreecommitdiffstats
path: root/usr/bin/autowifi
diff options
context:
space:
mode:
Diffstat (limited to 'usr/bin/autowifi')
-rwxr-xr-xusr/bin/autowifi2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/bin/autowifi b/usr/bin/autowifi
index 673a7a0a..6b9a090c 100755
--- a/usr/bin/autowifi
+++ b/usr/bin/autowifi
@@ -170,7 +170,7 @@ else
check_internet || loop_cracks_over_networks
while sleep 10; do
- if ! check_internet; then
+ if ! check_gateway; then
loop_cracks_over_networks
fi
done