From e95b73eda165506ebcb73c145a59c88be0134952 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Thu, 24 Oct 2019 20:44:40 +0200 Subject: [PATCH] fix-upgrade --- scripts/upgrade | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/upgrade b/scripts/upgrade index 5ea5c64..cfbb351 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -58,7 +58,8 @@ ynh_print_info --message="Backing up the app before upgrading (may take a while) # Backup the current version of the app ynh_backup_before_upgrade ynh_clean_setup () { - # restore it if the upgrade fails + ynh_clean_check_starting + # restore it if the upgrade fails ynh_restore_upgradebackup } # Exit if an error occurs during the execution of the script