14 Dec
2010
14 Dec
'10
12:31 a.m.
On Mon, Dec 13, 2010 at 04:18:48PM -0800, Matthew Hall wrote:
--- /home/megahall/wrapper.c 2010-12-13 16:15:29.000000000 -0800 +++ syslog-ng-3.2.1/syslog-ng/wrapper.c 2010-12-13 16:14:21.000000000 -0800 @@ -45,6 +45,7 @@ putenv(ldlibpath); } #endif + fprintf(stderr, "syslog-ng failed to launch because of XYZ\n"); execv(PATH_SYSLOGNG, argv); return 127; }
Stupid mistake. fprintf goes after execv. You get the idea. Matthew.