diff --git a/repertory/librepertory/src/drives/winfsp/winfsp_drive.cpp b/repertory/librepertory/src/drives/winfsp/winfsp_drive.cpp index 44807d33..8964bb9e 100644 --- a/repertory/librepertory/src/drives/winfsp/winfsp_drive.cpp +++ b/repertory/librepertory/src/drives/winfsp/winfsp_drive.cpp @@ -104,10 +104,8 @@ auto winfsp_drive::winfsp_service::OnStart(ULONG /*Argc*/, PWSTR * /*Argv*/) if ((drive_letter && not utils::file::directory(mount_location).exists())) { auto unicode_mount_location = utils::string::from_utf8(mount_location); host_.SetFileSystemName(unicode_mount_location.data()); - if (config_.get_enable_mount_manager()) { - unicode_mount_location = - std::wstring(L"\\\\.\\") + unicode_mount_location[0U] + L":"; - } + unicode_mount_location = + std::wstring(L"\\\\.\\") + unicode_mount_location[0U] + L":"; ret = host_.Mount(unicode_mount_location.data()); } else { std::cerr << (drive_letter ? "Mount location in use: "