From df08ce60257ec2e97ea47076e8a07559b8f20acf Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Mon, 13 Dec 2021 15:07:16 +0100 Subject: [PATCH] Update restore --- scripts/restore | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/restore b/scripts/restore index 84e0cf8..ec3fb61 100644 --- a/scripts/restore +++ b/scripts/restore @@ -42,8 +42,7 @@ enable_extensions="$(ynh_app_setting_get --app=$app --key=enable_extensions)" #================================================= ynh_script_progression --message="Validating restoration parameters..." --weight=1 -test ! -d $final_path \ - || ynh_die --message="There is already a directory: $final_path " +test ! -d $final_path || ynh_die --message="There is already a directory: $final_path " #================================================= # STANDARD RESTORATION STEPS