Re: [systemd-devel] [PATCH] bootchart: remove duplicated code, prevent creating empty files

2015-03-23 Thread Zbigniew Jędrzejewski-Szmek
On Mon, Mar 23, 2015 at 03:48:41AM -0700, Shawn Landden wrote: > In Debian and rawhide Fedora, which have CONFIG_SCHEDSTATS=n, > bootchart creates empty files in /run/log before printing an error. > Stop doing that. > > Moreover this duplicated part of the code doesn't even have error checking > s

[systemd-devel] [PATCH] bootchart: remove duplicated code, prevent creating empty files

2015-03-23 Thread Shawn Landden
In Debian and rawhide Fedora, which have CONFIG_SCHEDSTATS=n, bootchart creates empty files in /run/log before printing an error. Stop doing that. Moreover this duplicated part of the code doesn't even have error checking so there is no error avoided by doing this early. Reported-by: tfirg_ on IR