diff options
author | Lennart Poettering <lennart@poettering.net> | 2020-08-13 11:26:49 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-13 11:26:49 +0200 |
commit | 830171936c4e9c072e85685d8c061175dda2ad71 (patch) | |
tree | ef1b54d5395d0964be9479ec61a348a63dc21eec /src/basic/mkdir.c | |
parent | c53da7ed02a5d732c9449f79c19675b90a6032e3 (diff) | |
parent | 1af83e7c37bc408678b43add88555e92102d9031 (diff) | |
download | systemd-830171936c4e9c072e85685d8c061175dda2ad71.tar.gz |
Merge pull request #16612 from poettering/dissect-copy
teach systemd-dissect file copying, and make it officially supported, move to /usr/bin + man page
Diffstat (limited to 'src/basic/mkdir.c')
-rw-r--r-- | src/basic/mkdir.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/basic/mkdir.c b/src/basic/mkdir.c index 6ebc2b95fd..d591e65e41 100644 --- a/src/basic/mkdir.c +++ b/src/basic/mkdir.c @@ -106,7 +106,7 @@ int mkdir_parents_internal(const char *prefix, const char *path, mode_t mode, ui /* return immediately if directory exists */ e = strrchr(path, '/'); if (!e) - return -EINVAL; + return 0; if (e == path) return 0; |