From c278c4dbcd0fc89f7baee4c82676e9deef780528 Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Mon, 20 May 2024 10:26:12 -0400 Subject: Fix bad confict resolution * Repairs linux build --- src/utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/utils.c') diff --git a/src/utils.c b/src/utils.c index c62af08..b04aae6 100644 --- a/src/utils.c +++ b/src/utils.c @@ -58,7 +58,7 @@ int rmtree(char *_path) { stat(d_entity->d_name, &st); is_dir = S_ISDIR(st.st_mode); #else - is_dir = DT_DIR == rec->d_type; + is_dir = DT_DIR == d_entity->d_type; #endif // Push directories on to the stack first if (is_dir) { -- cgit