Fix syntax error update-ngxblocker

REF: 22c2a61bfe
This commit is contained in:
Mitchell Krog 2020-04-15 14:41:42 +02:00
parent 811382290c
commit 6d12a2d54c
No known key found for this signature in database
GPG key ID: E02E9D10427B6A43

View file

@ -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