From bd0730381e88fa475502abec4c368b00703ebb62 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Thu, 18 Aug 2022 12:11:14 +0200 Subject: [PATCH] Update restore --- scripts/restore | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/restore b/scripts/restore index 8dd10dc..a1ddfc0 100755 --- a/scripts/restore +++ b/scripts/restore @@ -35,7 +35,7 @@ datadir=$(ynh_app_setting_get --app=$app --key=datadir) #================================================= ynh_script_progression --message="Validating restoration parameters..." --weight=2 -test ! -d $final_path +test ! -d $final_path \ || ynh_die --message="There is already a directory: $final_path " #=================================================