diff options
Diffstat (limited to 'mkdir.c')
-rw-r--r-- | mkdir.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -85,8 +85,9 @@ extern int mkdir_main(int argc, char **argv) fprintf(stderr, "%s: File exists\n", *argv); exit( FALSE); } - if (parentFlag == TRUE) + if (parentFlag == TRUE) { createPath(*argv, mode); + } else { if (mkdir (*argv, mode) != 0) { perror(*argv); |