Permalink
Browse files

Merge remote-tracking branch 'upstream/master'

  • Loading branch information...
2 parents ba57d7d + 44a86ae commit dac9e96d4511ad10e2b022895c2ec3cde81b81bb @ChrisRut committed Jun 24, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 duplicity-backup.sh
View
@@ -247,7 +247,7 @@ email_logfile()
if [ "$MAIL" = "ssmtp" ]; then
echo """Subject: ${EMAIL_SUBJECT}""" | cat - ${LOGFILE} | ${MAILCMD} -s ${EMAIL_TO}
- elif ["$MAIL" = "mailx" ]; then
+ elif [ "$MAIL" = "mailx" ]; then
EMAIL_FROM=${EMAIL_FROM:+"-r ${EMAIL_FROM}"}
cat ${LOGFILE} | ${MAILCMD} -s """${EMAIL_SUBJECT}""" $EMAIL_FROM ${EMAIL_TO}
fi

0 comments on commit dac9e96

Please sign in to comment.