added " after email server

This commit is contained in:
clinton-hall 2012-12-14 13:24:51 -08:00
commit 2fd42f91ff

View file

@ -146,12 +146,12 @@ do_exit() {
if [ "$Email_successful" = "yes" -a "$nzbStatus" = 0 ]; then if [ "$Email_successful" = "yes" -a "$nzbStatus" = 0 ]; then
User="" User=""
if [ -n "$Email_User" -a -n "$Email_Pass"]; then User="-xu $Email_User -xp $Email_Pass" ; fi if [ -n "$Email_User" -a -n "$Email_Pass"]; then User="-xu $Email_User -xp $Email_Pass" ; fi
$sendEmail -f "$Email_From" -t "$Email_To" -s "$Email_Server $User -u "nzb download succeded" -m "$NZBPP_NZBFILENAME downloaded succesfully" $sendEmail -f "$Email_From" -t "$Email_To" -s "$Email_Server" $User -u "nzb download succeded" -m "$NZBPP_NZBFILENAME downloaded succesfully"
fi fi
if [ "$Email_failed" = "yes" -a "$nzbStatus" != 0 ]; then if [ "$Email_failed" = "yes" -a "$nzbStatus" != 0 ]; then
User="" User=""
if [ -n "$Email_User" -a -n "$Email_Pass"]; then User="-xu $Email_User -xp $Email_Pass" ; fi if [ -n "$Email_User" -a -n "$Email_Pass"]; then User="-xu $Email_User -xp $Email_Pass" ; fi
$sendEmail -f "$Email_From" -t "$Email_To" -s "$Email_Server $User -u "nzb download failed" -m "$NZBPP_NZBFILENAME download failed due to $1" $sendEmail -f "$Email_From" -t "$Email_To" -s "$Email_Server" $User -u "nzb download failed" -m "$NZBPP_NZBFILENAME download failed due to $1"
fi fi
exit $1 exit $1
} }