From 935154ef049299f581469cd1412e9422ee4e7447 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 f73628e05..3f00e4384 100644 --- a/library/x509_crt.c +++ b/library/x509_crt.c @@ -1679,8 +1679,8 @@ cleanup: { if( errno == ENOENT ) { - /* Broken link */ - ret++; + /* Broken link - ignore this entry */ + continue; } else {