aboutsummaryrefslogtreecommitdiff
path: root/libbb/make_directory.c
diff options
context:
space:
mode:
Diffstat (limited to 'libbb/make_directory.c')
-rw-r--r--libbb/make_directory.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/make_directory.c b/libbb/make_directory.c
index df0b4a13d..391493cda 100644
--- a/libbb/make_directory.c
+++ b/libbb/make_directory.c
@@ -71,7 +71,7 @@ int FAST_FUNC bb_make_directory(char *path, long mode, int flags)
71 } 71 }
72 /* Since the directory exists, don't attempt to change 72 /* Since the directory exists, don't attempt to change
73 * permissions if it was the full target. Note that 73 * permissions if it was the full target. Note that
74 * this is not an error conditon. */ 74 * this is not an error condition. */
75 if (!c) { 75 if (!c) {
76 umask(mask); 76 umask(mask);
77 return 0; 77 return 0;