aboutsummaryrefslogtreecommitdiff
path: root/src/utils.c
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2024-05-20 10:26:12 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2024-05-20 10:26:12 -0400
commitc278c4dbcd0fc89f7baee4c82676e9deef780528 (patch)
tree593bb9af70cc84fc161f09b774a0f6f500670eff /src/utils.c
parent67975a5944706e382fe1e7b00d226715c6242358 (diff)
downloadstasis-c278c4dbcd0fc89f7baee4c82676e9deef780528.tar.gz
Fix bad confict resolution
* Repairs linux build
Diffstat (limited to 'src/utils.c')
-rw-r--r--src/utils.c2
1 files changed, 1 insertions, 1 deletions
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) {