From 8236bbceda0ac6ad09bdcf4057acef4f842a4367 Mon Sep 17 00:00:00 2001 From: phk Date: Sat, 10 Jan 2009 22:30:04 +0000 Subject: [PATCH] Don't panic if we fail to delete shared objects in atexit(). Fixes #376 git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@3501 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- varnish-cache/bin/varnishd/mgt_vcc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/varnish-cache/bin/varnishd/mgt_vcc.c b/varnish-cache/bin/varnishd/mgt_vcc.c index 07e0860d..4331f5fa 100644 --- a/varnish-cache/bin/varnishd/mgt_vcc.c +++ b/varnish-cache/bin/varnishd/mgt_vcc.c @@ -436,7 +436,7 @@ mgt_vcc_atexit(void) vp = VTAILQ_FIRST(&vclhead); if (vp == NULL) break; - mgt_vcc_del(vp); + (void)unlink(vp->fname); } } -- 2.39.5