mirror of
https://github.com/YunoHost-Apps/borg_ynh.git
synced 2024-09-03 18:16:05 +02:00
Zgmgnifgrmbl
This commit is contained in:
parent
4ff3491567
commit
64358b3309
1 changed files with 1 additions and 1 deletions
|
@ -77,7 +77,7 @@ mailalert="$(sudo yunohost app setting ${borg_id} mailalert)"
|
|||
if [[ ! -z "$errors" && $mailalert != "never" ]]; then
|
||||
cat <(echo -e "$errors\n\n\n") "$log_file" "$err_file" | mail -s "[borg] Backup failed from $domain onto $repository" root
|
||||
exit 1
|
||||
elif [ $mailalert == "always" ]
|
||||
elif [ $mailalert == "always" ]; then
|
||||
cat $log_file | mail -s "[borg] Backup succeed from $domain onto $repository" root
|
||||
exit 0
|
||||
fi
|
||||
|
|
Loading…
Add table
Reference in a new issue