Merge pull request #8 from senorsmile/master

typo fixing
This commit is contained in:
Orsiris de Jong 2015-01-19 16:02:03 +01:00
commit ea9b38f8fe
1 changed files with 2 additions and 2 deletions

View File

@ -127,7 +127,7 @@ function TrapQuit
SendAlert SendAlert
UnlockDirectories UnlockDirectories
CleanUp CleanUp
LogError "Osync finished with errros." LogError "Osync finished with errors."
exitcode=1 exitcode=1
else else
UnlockDirectories UnlockDirectories
@ -233,7 +233,7 @@ function SendAlert
fi fi
elif type -p sendemail > /dev/null 2>&1 elif type -p sendemail > /dev/null 2>&1
then then
if [ "$SMTP_USER" != "" ] && "$SMTP_PASSWORD" != "" ] if [ "$SMTP_USER" != "" ] && [ "$SMTP_PASSWORD" != "" ]
then then
$SMTP_OPTIONS="-xu $SMTP_USER -xp $SMTP_PASSWORD" $SMTP_OPTIONS="-xu $SMTP_USER -xp $SMTP_PASSWORD"
else else