cache: report an error message if cache initialization fails
Pablo Neira Ayuso
maintainerPATCH 1/1 cache: report an error message if cache initialization fails
cache initialization failure (which should not ever happen) is not reported to the user.
Signed-off-by Pablo Neira Ayuso <[email protected]>
--- src/cache.c | 4 ++++ 1 file changed, 4 insertions(+)
src/cache.c +4 -0
@@ -1180,7 +1180,11 @@ replay: goto replay; } +erec_queue (error (&netlink_location,"cache initialization failed: %s" , +strerror (errno)), + msgs);nft_cache_release (cache); +return -1 ; }
Signature · 1 line
2.30.2