refactoring: log_event(), is_format_valid()

This commit is contained in:
Serghey Rodin 2016-06-24 16:33:24 +03:00
commit 5d30b67fb1
6 changed files with 344 additions and 92 deletions

View file

@ -106,7 +106,7 @@ remote_dns_health_check() {
else
subj="DNS sync failed"
email=$($BIN/v-get-user-value admin CONTACT)
cat $tmpfile |$send_mail -s "$subj" $email
cat $tmpfile |$SENDMAIL -s "$subj" $email
fi
# Deleting tmp file