Revert "feat: remove unnecessary test -n"

This reverts commit 8f4d8620b6.
This commit is contained in:
ttionya committed 2021-03-01 21:59:12 +08:00
1 parent a0113cdd8a
commit b20bbb3eb2
2 files changed
+12 -12

No files matched your search

+1 -1
View File
@@ -14,7 +14,7 @@ if [[ "$1" == "mail" ]]; then
MAIL_SMTP_ENABLE="TRUE"
MAIL_DEBUG="TRUE"
if [[ "$2" ]]; then
if [[ -n "$2" ]]; then
MAIL_TO="$2"
fi