diff options
Diffstat (limited to 'contrib/cvs/src/filesubr.c')
-rw-r--r-- | contrib/cvs/src/filesubr.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/contrib/cvs/src/filesubr.c b/contrib/cvs/src/filesubr.c index 28575a3..5b9c076 100644 --- a/contrib/cvs/src/filesubr.c +++ b/contrib/cvs/src/filesubr.c @@ -331,8 +331,7 @@ mkdir_if_needed (name) { if (mkdir (name, 0777) < 0) { - if (!(errno == EEXIST - || (errno == EACCES && isdir (name)))) + if (errno != EEXIST && !isdir (name)) error (1, errno, "cannot make directory %s", name); return 1; } |