From 329c3c9cd2c548365e9de8f883ab7cfade1f5b79 Mon Sep 17 00:00:00 2001 From: ENGO150 Date: Fri, 30 Aug 2024 15:01:27 +0200 Subject: [PATCH] added missing why2_directory call to why2_check_version --- src/core/lib/utils/misc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/core/lib/utils/misc.c b/src/core/lib/utils/misc.c index 20de88a..51ddd21 100644 --- a/src/core/lib/utils/misc.c +++ b/src/core/lib/utils/misc.c @@ -72,6 +72,7 @@ enum WHY2_EXIT_CODES why2_check_version(void) if (why2_get_flags().no_check) return WHY2_SUCCESS; why2_set_memory_identifier("core_version_check"); + why2_directory(); //MAKE SURE WHY2 DIR EXISTS //FILE-CHECK VARIABLES int not_found_buffer = 0;