diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/mdevd/mdevd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mdevd/mdevd.c b/src/mdevd/mdevd.c index a8691ad..1f7485e 100644 --- a/src/mdevd/mdevd.c +++ b/src/mdevd/mdevd.c @@ -160,7 +160,7 @@ static inline int mkdirp (char *s) if (dryrun) strerr_warni2x("dry run: mkdir ", s) ; else r = mkdir(s, 0755) ; s[i] = '/' ; - if (r < 0) break ; + if (r < 0 && errno != EEXIST) break ; } } return i >= n ; |