diff options
author | Shawn Landden <shawn@churchofgit.com> | 2015-03-23 03:48:41 -0700 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2015-03-24 00:12:03 -0400 |
commit | b53a2485a43a59f3a8e45baabac6fc84a53cb3e6 (patch) | |
tree | 8f2c9110eb9247f18dbb8fd3129c169bbf6121b2 /src/compat-libs | |
parent | fb02a2775a65198db606d8fc3a03852ce843378f (diff) |
bootchart: remove duplicated code, prevent creating empty files
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 IRC
Diffstat (limited to 'src/compat-libs')
0 files changed, 0 insertions, 0 deletions