Remove extraneous line where I called just unlinkat()

This commit is contained in:
John Scipione
2012-03-05 18:22:02 -05:00
parent 6f0d1fc94a
commit 46804eff55
-1
View File
@@ -620,7 +620,6 @@ unlinkat(int fd, const char *path, int flag)
if (path && path[0] == '/') { if (path && path[0] == '/') {
// path is absolute, call rmdir() or unlink() ignoring fd // path is absolute, call rmdir() or unlink() ignoring fd
return (flag & AT_REMOVEDIR) == 0 ? rmdir(path) : unlink(path); return (flag & AT_REMOVEDIR) == 0 ? rmdir(path) : unlink(path);
return unlink(path);
} }
if (!fd) { if (!fd) {