From ecd3cc03b2121b5a0c2d1c8b82f39b9d0375f501 Mon Sep 17 00:00:00 2001 From: Maschell Date: Mon, 10 Oct 2022 19:22:31 +0200 Subject: [PATCH] Add missing FSAInit() call to fix directory merge with parents --- src/FSWrapperMergeDirsWithParent.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/FSWrapperMergeDirsWithParent.cpp b/src/FSWrapperMergeDirsWithParent.cpp index d206b06..3f36da3 100644 --- a/src/FSWrapperMergeDirsWithParent.cpp +++ b/src/FSWrapperMergeDirsWithParent.cpp @@ -222,6 +222,7 @@ FSWrapperMergeDirsWithParent::FSWrapperMergeDirsWithParent(const std::string &na replaceWithPath, fallbackOnError, false) { + FSAInit(); this->clientHandle = FSAAddClient(nullptr); if (clientHandle < 0) { DEBUG_FUNCTION_LINE_ERR("[%s] FSAClientHandle failed: %s (%d)", name.c_str(), FSAGetStatusStr(static_cast(clientHandle)), clientHandle);