From af39292f4b500dedfecef51a14e537266220abab Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Sun, 5 Dec 2021 09:27:42 +0100 Subject: [PATCH] Update restore --- scripts/restore | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/restore b/scripts/restore index 1899045..c105136 100644 --- a/scripts/restore +++ b/scripts/restore @@ -34,8 +34,7 @@ phpversion=$(ynh_app_setting_get --app=$app --key=phpversion) #================================================= 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