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

wait for rollback if upgrade fail

This commit is contained in:
yalh76 2019-02-02 23:52:47 +01:00
parent 1edbbff444
commit f63c1f65c7

View file

@ -74,6 +74,7 @@ fi
ynh_backup_before_upgrade
ynh_clean_setup () {
# restore it if the upgrade fails
read -p "Press any key..."
ynh_restore_upgradebackup
ynh_clean_check_starting
}