From 000f9db82b611e660ea2bab5f196c73ca5c90052 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Wed, 19 Jan 2022 16:34:12 +0100 Subject: [PATCH] Update restore --- scripts/restore | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/restore b/scripts/restore index 6bf2c97..37327b6 100755 --- a/scripts/restore +++ b/scripts/restore @@ -38,8 +38,7 @@ public_path=$(ynh_app_setting_get --app=$app --key=public_path) #================================================= 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