fix messed-up errno if remove fails for a non-EISDIR reason
[musl] / dist /
drwxr-xr-x   ..
-rw-r--r-- 811 config.mak