From ce8567d740298a1a74a0d2b35039d9b0203aff36 Mon Sep 17 00:00:00 2001 From: Bart <11445373+bthomee@users.noreply.github.com> Date: Fri, 30 Jan 2026 09:34:48 +0000 Subject: [PATCH] fix: Restore config changes that broke standalone mode --- src/xrpld/core/detail/Config.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/xrpld/core/detail/Config.cpp b/src/xrpld/core/detail/Config.cpp index 74dfa6d5a88..0a60416af71 100644 --- a/src/xrpld/core/detail/Config.cpp +++ b/src/xrpld/core/detail/Config.cpp @@ -358,9 +358,11 @@ Config::setup(std::string const& strConf, bool bQuiet, bool bSilent, bool bStand std::string const dbPath(legacy("database_path")); if (!dbPath.empty()) dataDir = boost::filesystem::path(dbPath); + else if (RUN_STANDALONE) + dataDir.clear(); } - if (!RUN_STANDALONE) + if (!dataDir.empty()) { boost::system::error_code ec; boost::filesystem::create_directories(dataDir, ec);