diff --git a/scripts/restore b/scripts/restore index 8bee0fa..2bd1af0 100755 --- a/scripts/restore +++ b/scripts/restore @@ -37,7 +37,7 @@ final_path=$(ynh_app_setting_get --app=$app --key=final_path) #================================================= ynh_print_info --message="Validating restoration parameters..." -ynh_webpath_available --app=$app --domain=$domain --path_url=$path_url +ynh_webpath_available --domain=$domain --path_url=$path_url test ! -d $final_path \ || ynh_die --message="There is already a directory: $final_path "