Skip to content

Commit

Permalink
internet reverse reorder and keep unique (fixes #2137)
Browse files Browse the repository at this point in the history
  • Loading branch information
JLKwong committed Mar 26, 2021
1 parent 3986e26 commit 6d4665f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/internet.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ function internet {
exit 0
fi
echo "false"
;;
;;
"reverse")
if ! nc -w 10 -z 8.8.8.8 53 >/dev/null 1>&2; then
log_and_exit1 "Error: no internet found"
Expand Down

0 comments on commit 6d4665f

Please sign in to comment.