aboutsummaryrefslogtreecommitdiff
path: root/utils/asn_update.sh
diff options
context:
space:
mode:
authorlns <matzeton@googlemail.com>2022-04-21 21:50:56 +0200
committerlns <matzeton@googlemail.com>2022-04-21 22:12:40 +0200
commit01e5c63f453647f72610994f39181dce34ffa1ca (patch)
treec8dd27d094884959271f5bfea5cf008703950084 /utils/asn_update.sh
parent42909673ced0b5431c233b47d40ca759c3415b2a (diff)
Updated `utils/whatsapp_ip_addresses_download.sh' to scrape the required IP addresses/ranges.update-improved-fixed/ip-addr-ranges-update-scripts
* 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"