nfsopenhack: remove empty file check

This commit is contained in:
Antonio SJ Musumeci 2020-07-26 17:11:06 -04:00
parent b50a128777
commit 139e61efaa

View File

@ -57,7 +57,7 @@ namespace l
if(rv == -1)
return (errno=EACCES,-1);
if(StatUtil::writable_or_not_empty(st))
if(StatUtil::writable(st))
return (errno=EACCES,-1);
rv = fs::chmod(fullpath_,(st.st_mode|S_IWUSR|S_IWGRP));