From 079b1f056f005c93caae5985f0e5b633255927af Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Fri, 26 Nov 2021 10:00:26 +0100 Subject: [PATCH] Update restore --- scripts/restore | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/restore b/scripts/restore index 33381f2..5e19f9c 100644 --- a/scripts/restore +++ b/scripts/restore @@ -31,8 +31,7 @@ final_path=$(ynh_app_setting_get --app=$app --key=final_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