r4343 - branches/2.0/varnish-cache/bin/varnishd
tfheen at projects.linpro.no
tfheen at projects.linpro.no
Fri Nov 6 11:00:47 CET 2009
Author: tfheen
Date: 2009-11-06 11:00:46 +0100 (Fri, 06 Nov 2009)
New Revision: 4343
Modified:
branches/2.0/varnish-cache/bin/varnishd/varnishd.c
Log:
Merge r4338: Send stderr to /dev/null when running nm
Previously, running varnishd -V would sometimes say:
nm: 'varnishd': No such file
which is wrong. Silence this message
Modified: branches/2.0/varnish-cache/bin/varnishd/varnishd.c
===================================================================
--- branches/2.0/varnish-cache/bin/varnishd/varnishd.c 2009-11-06 09:27:24 UTC (rev 4342)
+++ branches/2.0/varnish-cache/bin/varnishd/varnishd.c 2009-11-06 10:00:46 UTC (rev 4343)
@@ -463,7 +463,7 @@
struct symbols *s;
p = NULL;
- asprintf(&p, "nm -an %s", a0);
+ asprintf(&p, "nm -an %s 2>/dev/null", a0);
if (p == NULL)
return;
fi = popen(p, "r");
More information about the varnish-commit
mailing list