From 9cf5e696b3425aecbddaebd59feaaa27ce07e2a9 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Sat, 8 Jan 2022 08:51:03 +0100 Subject: [PATCH] Update restore --- scripts/restore | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/restore b/scripts/restore index bacee9f..89414a6 100644 --- a/scripts/restore +++ b/scripts/restore @@ -32,8 +32,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