diff options
-rw-r--r-- | libbb/make_directory.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/make_directory.c b/libbb/make_directory.c index 64736efbe..9b03bb8d0 100644 --- a/libbb/make_directory.c +++ b/libbb/make_directory.c | |||
@@ -121,7 +121,7 @@ int FAST_FUNC bb_make_directory(char *path, long mode, int flags) | |||
121 | * an error. */ | 121 | * an error. */ |
122 | if (mode != -1) { | 122 | if (mode != -1) { |
123 | //bb_error_msg("chmod 0%03lo mkdir '%s'", mode, path); | 123 | //bb_error_msg("chmod 0%03lo mkdir '%s'", mode, path); |
124 | if (chmod(path, mode) < 0)) { | 124 | if (chmod(path, mode) < 0) { |
125 | fail_msg = "set permissions of"; | 125 | fail_msg = "set permissions of"; |
126 | if (flags & FILEUTILS_IGNORE_CHMOD_ERR) { | 126 | if (flags & FILEUTILS_IGNORE_CHMOD_ERR) { |
127 | flags = 0; | 127 | flags = 0; |