aboutsummaryrefslogtreecommitdiff
path: root/src/copy.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/copy.c
parent67975a5944706e382fe1e7b00d226715c6242358 (diff)
downloadstasis-c278c4dbcd0fc89f7baee4c82676e9deef780528.tar.gz
Fix bad confict resolution
* Repairs linux build
Diffstat (limited to 'src/copy.c')
-rw-r--r--src/copy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/copy.c b/src/copy.c
index de87446..d7b13b6 100644
--- a/src/copy.c
+++ b/src/copy.c
@@ -182,7 +182,7 @@ int copytree(const char *srcdir, const char *destdir, unsigned int op) {
#if defined (OMC_OS_WINDOWS)
is_dir = S_ISDIR(st.st_mode);
#else
- is_dir = DT_DIR == rec->d_type;
+ is_dir = DT_DIR == d->d_type;
#endif
if (is_dir) {
if (strncmp(src, dest, strlen(src)) == 0) {