mirror of
https://github.com/YunoHost-Apps/borg_ynh.git
synced 2024-09-03 18:16:05 +02:00
[fix] Unknown var
This commit is contained in:
parent
612bfbd2da
commit
848369ad1e
1 changed files with 1 additions and 1 deletions
|
@ -74,7 +74,7 @@ fi
|
|||
domain=$(hostname)
|
||||
repository="$(sudo yunohost app setting ${borg_id} repository)"
|
||||
if [ ! -z "$errors" ]; then
|
||||
cat <(echo -e "$errors\n\n\n") "$log_file" "$err_file" | mail -s "[borg] Backup failed from $domain onto $repo" root
|
||||
cat <(echo -e "$errors\n\n\n") "$log_file" "$err_file" | mail -s "[borg] Backup failed from $domain onto $repository" root
|
||||
exit 1
|
||||
else
|
||||
cat $log_file | mail -s "[borg] Backup succeed from $domain onto $repository" root
|
||||
|
|
Loading…
Add table
Reference in a new issue