From 445064f4652b752414ea9cc4c85b519f56e5f634 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Sat, 27 Nov 2021 09:45:37 +0100 Subject: [PATCH] Update restore --- scripts/restore | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/restore b/scripts/restore index b84019a..0ef7741 100755 --- a/scripts/restore +++ b/scripts/restore @@ -36,8 +36,7 @@ phpversion=$YNH_PHP_VERSION #================================================= 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