From 580bde34e5fcafb7eddad4f3c6c167c10898e908 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Sun, 19 Jun 2022 23:40:10 +0200 Subject: [PATCH] Update restore --- scripts/restore | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/restore b/scripts/restore index 7d4a9f0..f1141f7 100755 --- a/scripts/restore +++ b/scripts/restore @@ -35,7 +35,8 @@ datadir=$(ynh_app_setting_get --app=$app --key=datadir) #================================================= ynh_script_progression --message="Validating restoration parameters..." --weight=2 -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