diff options
author | Rich Salz <rsalz@akamai.com> | 2015-09-10 11:46:13 -0400 |
---|---|---|
committer | Rich Salz <rsalz@openssl.org> | 2015-09-10 16:13:55 -0400 |
commit | 4c7103a5eee1dc472e256ac8818610c6e98a9a39 (patch) | |
tree | 562a76657e1d7b5bd09fb22f8332ea5fbdca9123 /apps/rehash.c | |
parent | e7451ed137450e4bc6c4bec33bc9054bce443feb (diff) |
Unwriteable directories are errors
Make the script and app match the documentation.
Reviewed-by: Tim Hudson <tjh@openssl.org>
Diffstat (limited to 'apps/rehash.c')
-rw-r--r-- | apps/rehash.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/rehash.c b/apps/rehash.c index b0d6d9cc13..fdaba6af30 100644 --- 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] == '/') ? "" : "/"; |