aboutsummaryrefslogtreecommitdiff
path: root/utils/asn_update.sh
diff options
context:
space:
mode:
authorToni <matzeton@googlemail.com>2022-04-22 13:27:41 +0200
committerGitHub <noreply@github.com>2022-04-22 13:27:41 +0200
commit824c343602da5844f153049053664b6de84ec287 (patch)
treec8dd27d094884959271f5bfea5cf008703950084 /utils/asn_update.sh
parent42909673ced0b5431c233b47d40ca759c3415b2a (diff)
Updated `utils/whatsapp_ip_addresses_download.sh' to scrape the required IP addresses/ranges. (#1524)
* Replaced return statements in `utils/*.sh' with exit's (such scripts should never source'd) * Ran `utils/update_every_lists.sh' Signed-off-by: lns <matzeton@googlemail.com>
Diffstat (limited to 'utils/asn_update.sh')
-rwxr-xr-xutils/asn_update.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/asn_update.sh b/utils/asn_update.sh
index e79c3da86..5224bbc27 100755
--- a/utils/asn_update.sh
+++ b/utils/asn_update.sh
@@ -22,7 +22,7 @@ function create_list() {
rm -f $LIST
}
-cd "$(dirname "${0}")" || return
+cd "$(dirname "${0}")" || exit 1
echo "(1) Downloading Apple routes..."
DEST="../src/lib/inc_generated/ndpi_asn_apple.c.inc"