mirror of
https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker.git
synced 2025-09-01 18:19:55 +00:00
install-ngxblocker / setup-ngxblocker: fix DRY RUN messages
removes --exec from DRY RUN messages as the scripts now use short command line switches only with getopts.
This commit is contained in:
parent
aefe30811a
commit
d4eb8f93b9
2 changed files with 2 additions and 2 deletions
|
@ -260,7 +260,7 @@ main() {
|
|||
|
||||
# by default do not change any files
|
||||
if [ -z "$DRY_RUN" ]; then
|
||||
printf "\n** Dry Run ** | -x or --exec to download files\n\n"
|
||||
printf "\n** Dry Run ** | not updating files | run as '$(basename $0) -x' to install files.\n\n"
|
||||
else
|
||||
printf "\n"
|
||||
fi
|
||||
|
|
|
@ -311,7 +311,7 @@ main() {
|
|||
|
||||
# by default do not change any files
|
||||
if [ -z "$DRY_RUN" ]; then
|
||||
printf "\n** Dry Run ** | not updating files | -x or --exec to change files\n\n"
|
||||
printf "\n** Dry Run ** | not updating files | run as '$(basename $0) -x' to setup files.\n\n"
|
||||
else
|
||||
printf "\n"
|
||||
fi
|
||||
|
|
Loading…
Add table
Reference in a new issue