diff --git a/deps/uv/src/unix/fs.c b/deps/uv/src/unix/fs.c index 717f3fab36939e..1682817b456b67 100644 --- a/deps/uv/src/unix/fs.c +++ b/deps/uv/src/unix/fs.c @@ -1322,10 +1322,7 @@ static ssize_t uv__fs_copyfile(uv_fs_t* req) { times[1] = src_statsbuf.st_mtim; #endif - if (futimens(dstfd, times) == -1) { - err = UV__ERR(errno); - goto out; - } + (void) futimens(dstfd, times); /* * Change the ownership and permissions of the destination file to match the