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