From: phk Date: Sat, 10 Jan 2009 22:30:04 +0000 (+0000) Subject: Don't panic if we fail to delete shared objects in atexit(). X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8236bbceda0ac6ad09bdcf4057acef4f842a4367;p=varnish 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 --- 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); } }