unmount if initilization fails

This commit is contained in:
2024-07-26 14:54:05 -05:00
parent ba7c36e30e
commit 302d73a078
3 changed files with 10 additions and 1 deletions

View File

@@ -21,6 +21,7 @@
*/
#include "initialize.hpp"
#include "test_common.hpp"
#include "utils/error_utils.hpp"
#if defined(_WIN32)
#include "utils/cli_utils.hpp"
#endif // _WIN32
@@ -33,6 +34,7 @@ std::size_t PROVIDER_INDEX{0U};
auto main(int argc, char **argv) -> int {
if (not repertory::project_initialize()) {
std::cerr << "fatal: failed to initialize repertory" << std::endl;
return -1;
}