From efc1dd5c3f146a159351f65af371d3e5a9fc23cf Mon Sep 17 00:00:00 2001 From: RickiNano <81099017+RickiNano@users.noreply.github.com> Date: Sun, 8 Oct 2023 19:35:08 +0200 Subject: [PATCH] Skip bad_path test. Push to paths array --- nano/secure/utility.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/nano/secure/utility.cpp b/nano/secure/utility.cpp index 9ba8202473..19c5836294 100644 --- a/nano/secure/utility.cpp +++ b/nano/secure/utility.cpp @@ -45,7 +45,9 @@ std::filesystem::path nano::unique_path (nano::networks network) random_string += hex_chars[dis (gen)]; } - return (working_path (network) / random_string); + auto result = working_path (network) / random_string; + all_unique_paths.push_back (result); + return result; } void nano::remove_temporary_directories ()