From eb37d9776bfa829dd3c986869901fb2c90dfbc62 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Tue, 30 Nov 2021 13:23:18 +0100 Subject: [PATCH] Update restore --- scripts/restore | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/restore b/scripts/restore index 2a1b644..151572f 100644 --- a/scripts/restore +++ b/scripts/restore @@ -37,8 +37,7 @@ admin=$(ynh_app_setting_get --app=$app --key=admin) #================================================= ynh_script_progression --message="Validating restoration parameters..." -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 " #================================================= # ACTIVATE MAINTENANCE MODE