From 70ad437269fd6d6382501d5c19c490de96f4b25a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Sun, 1 Jan 2023 15:44:55 +0100 Subject: [PATCH] Update restore --- scripts/restore | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/restore b/scripts/restore index f8c9063..4846b39 100644 --- a/scripts/restore +++ b/scripts/restore @@ -37,8 +37,9 @@ fpm_usage=$(ynh_app_setting_get --app=$app --key=fpm_usage) #================================================= 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 #=================================================