diff --git a/repertory/librepertory/src/drives/winfsp/remotewinfsp/remote_server.cpp b/repertory/librepertory/src/drives/winfsp/remotewinfsp/remote_server.cpp index a7383afd..4e8ed0b2 100644 --- a/repertory/librepertory/src/drives/winfsp/remotewinfsp/remote_server.cpp +++ b/repertory/librepertory/src/drives/winfsp/remotewinfsp/remote_server.cpp @@ -872,7 +872,10 @@ auto remote_server::fuse_utimens(const char *path, const remote::file_time *tv, dest.dwHighDateTime = static_cast((now >> 32U) & 0xFFFFFFFF); dest.dwLowDateTime = now & 0xFFFFFFFF; dst_ptr = &dest; - } else if (op != UTIME_OMIT) { + return; + } + + if (op != UTIME_OMIT) { dest = utils::time::unix_time_to_filetime(src); dst_ptr = &dest; }