From 4c7103a5eee1dc472e256ac8818610c6e98a9a39 Mon Sep 17 00:00:00 2001 From: Rich Salz Date: Thu, 10 Sep 2015 11:46:13 -0400 Subject: Unwriteable directories are errors Make the script and app match the documentation. Reviewed-by: Tim Hudson --- apps/rehash.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/rehash.c') 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] == '/') ? "" : "/"; -- cgit v1.2.3