mirror of
https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker.git
synced 2025-09-02 02:29:58 +00:00
parent
811382290c
commit
6d12a2d54c
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue