From d973f9b03668488edc9cf300409cffd536727b77 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Mon, 29 Nov 2021 18:21:43 +0100 Subject: [PATCH] Update restore --- scripts/restore | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/restore b/scripts/restore index 0fa7e7e..6a93576 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