mirror of
https://git.busybox.net/busybox
synced 2026-01-31 16:43:21 +00:00
Fail straight away rather than recursively printing error messages :)
This commit is contained in:
parent
8132e933e6
commit
891ee641cb
1 changed files with 1 additions and 1 deletions
|
|
@ -61,7 +61,7 @@ int make_directory (char *path, long mode, int flags)
|
|||
if ((flags == FILEUTILS_RECUR) && (errno == EEXIST)) {
|
||||
ret = 0;
|
||||
} else {
|
||||
perror_msg("Cannot create directory '%s'", path);
|
||||
perror_msg_and_die("Cannot create directory '%s'", path);
|
||||
}
|
||||
}
|
||||
return(ret);
|
||||
|
|
|
|||
Loading…
Reference in a new issue