summaryrefslogtreecommitdiff
path: root/lib/mkdir-p.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/mkdir-p.c')
-rw-r--r--lib/mkdir-p.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/mkdir-p.c b/lib/mkdir-p.c
index 39e563058..acda6b2f3 100644
--- a/lib/mkdir-p.c
+++ b/lib/mkdir-p.c
@@ -149,8 +149,9 @@ make_dir (char const *dir, char const *fulldir, mode_t mode,
has changed the current working directory and is unable to restore
it to its initial state.
- Return true iff ARG exists as a directory with the proper
- ownership and permissions when done. */
+ Return true iff ARG exists as a directory with the proper ownership
+ and permissions when done. Note that this function returns true
+ even when it fails to return to the initial working directory. */
bool
make_dir_parents (char const *arg,