]> err.no Git - varnish/commitdiff
Don't panic if we fail to delete shared objects in atexit().
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Sat, 10 Jan 2009 22:30:04 +0000 (22:30 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Sat, 10 Jan 2009 22:30:04 +0000 (22:30 +0000)
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

index 07e0860d8c92712067874fc23e07ddc21fc1083e..4331f5fa6090b1e2a26ae99a843d1b1bcac50b52 100644 (file)
@@ -436,7 +436,7 @@ mgt_vcc_atexit(void)
                vp = VTAILQ_FIRST(&vclhead);
                if (vp == NULL)
                        break;
-               mgt_vcc_del(vp);
+               (void)unlink(vp->fname);
        }
 }