1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/borgserver_ynh.git synced 2024-09-03 20:36:20 +02:00

Merge pull request #71 from YunoHost-Apps/debackeduping

Typo
This commit is contained in:
Kayou 2024-08-24 12:24:30 +02:00 committed by GitHub
commit dbd1b5027b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -7,6 +7,6 @@ ALERT_DELAY="$(grep '^alert_delay: ' /etc/yunohost/apps/__APP__/settings.yml | a
if [[ $(find /home/__SSH_USER__/backup/data -follow -mtime -${ALERT_DELAY} -ls | wc -l) > 0 ]]; then
:
else
echo "No file has been backuped in /home/__SSH_USER__ since ${ALERT_DELAY} days" \
echo "No file has been backed up in /home/__SSH_USER__ since ${ALERT_DELAY} days" \
| mail -s "[YNH] Backup missing : __SSH_USER__" $(grep '^alert_mails: ' /etc/yunohost/apps/__APP__/settings.yml | awk '{print $2}')
fi