From fc8280b1044bac868451750345319245a3bee2b2 Mon Sep 17 00:00:00 2001 From: Kay0u Date: Thu, 23 May 2019 09:01:14 +0200 Subject: [PATCH] ynh_clean_check_starting if error during restore --- scripts/restore | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/restore b/scripts/restore index 1a33749..d6acacf 100644 --- a/scripts/restore +++ b/scripts/restore @@ -16,6 +16,8 @@ source /usr/share/yunohost/helpers ynh_clean_setup () { ynh_exec_warn_less ynh_secure_remove --file="$tempdir" + + ynh_clean_check_starting } # Exit if an error occurs during the execution of the script ynh_abort_if_errors