projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8132e93
)
Fail straight away rather than recursively printing error messages :)
author
Glenn L McGrath
<bug1@ihug.co.nz>
Sat, 28 Sep 2002 08:30:47 +0000
(08:30 -0000)
committer
Glenn L McGrath
<bug1@ihug.co.nz>
Sat, 28 Sep 2002 08:30:47 +0000
(08:30 -0000)
libbb/make_directory.c
patch
|
blob
|
history
diff --git
a/libbb/make_directory.c
b/libbb/make_directory.c
index 2a2788b68fad50f65124163db2639ffd6884a8ca..3f81d9ac2ba9d1eb87bb00bfb8603ef53014ebae 100644
(file)
--- a/
libbb/make_directory.c
+++ b/
libbb/make_directory.c
@@
-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);