projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Unwriteable directories are errors
[openssl.git]
/
apps
/
rehash.c
diff --git
a/apps/rehash.c
b/apps/rehash.c
index b0d6d9cc1321250adf5e3ccb6cd4881c185388e8..fdaba6af3035c6d210b59173d262b4880e972942 100644
(file)
--- a/
apps/rehash.c
+++ b/
apps/rehash.c
@@
-315,7
+315,7
@@
static int do_dir(const char *dirname, enum Hash h)
if (app_access(dirname, W_OK) < 0) {
BIO_printf(bio_err, "Skipping %s, can't write\n", dirname);
- return
0
;
+ return
1
;
}
buflen = strlen(dirname);
pathsep = (buflen && dirname[buflen - 1] == '/') ? "" : "/";