From b3dd2884f88f44ac71d0eab87c79ac833a669dcb Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Thu, 18 Aug 2022 12:49:35 +0200 Subject: [PATCH] Update restore --- scripts/restore | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/restore b/scripts/restore index f1141f7..1e7af48 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 " #=================================================