mirror of
https://github.com/YunoHost-Apps/borg_ynh.git
synced 2024-09-03 18:16:05 +02:00
Merge pull request #112 from YunoHost-Apps/testing
[fix] Error 500 on failed backup in config panel
This commit is contained in:
commit
b7938cb03c
2 changed files with 2 additions and 1 deletions
|
@ -6,7 +6,7 @@
|
||||||
"en": "Backup your server on a host server using Borg.",
|
"en": "Backup your server on a host server using Borg.",
|
||||||
"fr": "Sauvegardez votre serveur sur un serveur distant avec Borg."
|
"fr": "Sauvegardez votre serveur sur un serveur distant avec Borg."
|
||||||
},
|
},
|
||||||
"version": "1.1.16~ynh26",
|
"version": "1.1.16~ynh27",
|
||||||
"url": "https://borgbackup.readthedocs.io",
|
"url": "https://borgbackup.readthedocs.io",
|
||||||
"license": "BSD-3-Clause",
|
"license": "BSD-3-Clause",
|
||||||
"maintainer": {
|
"maintainer": {
|
||||||
|
|
|
@ -16,6 +16,7 @@ ask:
|
||||||
**Last run**: ${old[last_run]}"
|
**Last run**: ${old[last_run]}"
|
||||||
EOF
|
EOF
|
||||||
if [ "${old[state]}" == "failed" ]; then
|
if [ "${old[state]}" == "failed" ]; then
|
||||||
|
cat << EOF
|
||||||
style: "danger"
|
style: "danger"
|
||||||
EOF
|
EOF
|
||||||
elif [ "${old[state]}" == "successful" ]; then
|
elif [ "${old[state]}" == "successful" ]; then
|
||||||
|
|
Loading…
Add table
Reference in a new issue