From bc28c7287a0978e505f3da3bb3c3ef5308eec219 Mon Sep 17 00:00:00 2001 From: Stuart Cardall Date: Fri, 24 Apr 2020 09:52:04 +0000 Subject: [PATCH] fix typo * closes https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker/issues/376 --- update-ngxblocker | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/update-ngxblocker b/update-ngxblocker index c9c868a02..ecaddd7fd 100755 --- a/update-ngxblocker +++ b/update-ngxblocker @@ -265,7 +265,7 @@ send_email() { # email report (mailx + ssmtp are enough to send emails) local mail_path=$(find_binary mail) - if [ -n "$(mail_path)" ]; then + if [ -n "$mail_path" ]; then print_message "Emailing report to: ${BOLDWHITE}$EMAIL${RESET}\n\n"; # remove ansi colour codes