From ea0193f1c4a63172107fe5d4ac0b629ae15d5f64 Mon Sep 17 00:00:00 2001 From: Stuart Cardall Date: Sun, 11 Mar 2018 13:19:31 +0000 Subject: [PATCH] fix -i option --- update-ngxblocker | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/update-ngxblocker b/update-ngxblocker index cee278423..df022f497 100755 --- a/update-ngxblocker +++ b/update-ngxblocker @@ -67,9 +67,9 @@ Examples: $script -c /my/custom/conf.d (Download globalblacklist.conf to a custom location) $script -b /my/custom/bots.d (Download globalblacklist.conf & update with your custom bots.d location) $script -e you@youremail.com (Download globalblacklist.conf specifying your email address for the notification) - $script -u /path/to/install-ngxblocker (Use custom path to install-ngxblocker to update bots.d / conf.d include files) $script -q -m webmaster (Send mail to a system alias address & give less verbose messages for cron) $script -o -e you@youremail.com (Send mail notification only on updates) + $script -i /path/to/install-ngxblocker (Use custom path to install-ngxblocker to update bots.d / conf.d include files) EOF exit 0 } @@ -250,7 +250,7 @@ send_email() { get_options() { local arg= opts= - while getopts :c:b:u:r:e:m:novqh opts "$@" + while getopts :c:b:i:r:e:m:novqh opts "$@" do if [ -n "${OPTARG}" ]; then case "$opts" in