1
0
mirror of https://github.com/deajan/obackup.git synced 2024-12-26 07:23:41 +01:00

Fixed typo

This commit is contained in:
deajan 2016-10-23 14:04:23 +02:00
parent f2a62821d6
commit 7a17118305

View File

@ -306,7 +306,7 @@ function SendAlert {
if type sendmail > /dev/null 2>&1; then if type sendmail > /dev/null 2>&1; then
echo "$body" | $(type -p sendmail) -f "$SENDER_EMAIL" -S "$SMTP_SERVER:$SMTP_PORT" -au "$SMTP_USER" -ap "$SMTP_PASS" echo "$body" | $(type -p sendmail) -f "$SENDER_EMAIL" -S "$SMTP_SERVER:$SMTP_PORT" -au "$SMTP_USER" -ap "$SMTP_PASS"
if [ $? != 0 ]; then if [ $? != 0 ]; then
Logger "Cannot send alert mail via ($type -p sendmail) !!! "WARN" Logger "Cannot send alert mail via ($type -p sendmail) !!!" "WARN"
return 1 return 1
fi fi
else else