From e79ee410826bf6166d315d566c1c68f0ec186033 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Sat, 25 Dec 2021 23:15:30 +0100 Subject: [PATCH] Update restore --- scripts/restore | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/restore b/scripts/restore index fe6325c..c2459ec 100644 --- a/scripts/restore +++ b/scripts/restore @@ -30,8 +30,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