From 168bcd684b3aea04ce5ff1a300804f3a9653c580 Mon Sep 17 00:00:00 2001 From: Dave Rodgman Date: Wed, 20 Jul 2022 14:01:45 +0100 Subject: [PATCH] Don't increase failure count for dangling symlinks Signed-off-by: Dave Rodgman --- library/x509_crt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/library/x509_crt.c b/library/x509_crt.c index 97a908c134..bf567e0fa4 100644 --- a/library/x509_crt.c +++ b/library/x509_crt.c @@ -1662,8 +1662,8 @@ cleanup: { if( errno == ENOENT ) { - /* Broken link */ - ret++; + /* Broken link - ignore this entry */ + continue; } else {