Update do-backup for userdirs. Remove ''s around from= for mailx.
This commit is contained in:
parent
2e2e666797
commit
25394932fb
4 changed files with 41 additions and 10 deletions
|
|
@ -36,7 +36,7 @@ fi
|
|||
|
||||
# Send the message.
|
||||
if [[ -n "${EMAIL_TO[*]}" ]]; then
|
||||
mailx "${MAILX_ARGS[@]}" -S "from='$EMAIL_FROM'" -s "$EMAIL_SUBJECT" "${EMAIL_TO[@]}" <<-EOF 2>/dev/null || \
|
||||
mailx "${MAILX_ARGS[@]}" -S "from=$EMAIL_FROM" -s "$EMAIL_SUBJECT" "${EMAIL_TO[@]}" <<-EOF 2>/dev/null || \
|
||||
{ printf "%s: %s\\n" "${0##*/}" "mailx command failed" >&2; RET=1; }
|
||||
Auth'd User: $RSYNC_USER_NAME@$RSYNC_HOST_NAME [$RSYNC_HOST_ADDR]
|
||||
Module: $RSYNC_MODULE_NAME ($RSYNC_MODULE_PATH)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue