[syslog-ng] Patch for launch path bug in syslog-ng.h
Matthew Hall
mhall at mhcomputing.net
Tue Dec 14 01:31:52 CET 2010
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.
More information about the syslog-ng
mailing list