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 24e4a0f commit 4f176bf
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 @@ -23,7 +23,7 @@ function internet {

echo "$ip"
echo "$org"
if $info | grep -q -E 'postal'; then
if echo $info | grep -q -E 'postal'; then
echo "$country, $city, $postal"
else
echo "$country, $city, \"postal\": \"n/a\""
Expand Down

0 comments on commit 4f176bf

Please sign in to comment.