Fix bug #106 (unary operator expected)
This commit is contained in:
parent
b105051554
commit
3a48d5a719
1 changed files with 1 additions and 2 deletions
|
|
@ -844,8 +844,7 @@ esac
|
|||
|
||||
echo -e "--------- END DUPLICITY-BACKUP SCRIPT ---------\n" >> ${LOGFILE}
|
||||
|
||||
if [ ${EMAIL_FAILURE_ONLY} == "yes" ]
|
||||
then
|
||||
if [ "$EMAIL_FAILURE_ONLY" = "yes" ]; then
|
||||
if [ ${BACKUP_ERROR} ]; then
|
||||
EMAIL_SUBJECT="BACKUP ERROR: ${EMAIL_SUBJECT}"
|
||||
email_logfile
|
||||
|
|
|
|||
Loading…
Reference in a new issue