From 62aa1f2fbeb42dcd61dc524ea7afd884e58916b2 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Sun, 12 Dec 2021 17:35:27 +0100 Subject: [PATCH] Update restore --- scripts/restore | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/restore b/scripts/restore index aa11eb0..0f773b7 100644 --- a/scripts/restore +++ b/scripts/restore @@ -33,8 +33,7 @@ phpversion=$(ynh_app_setting_get --app=$app --key=phpversion) #================================================= ynh_script_progression --message="Validating restoration parameters..." --weight=2 -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