[systemd-devel] [PATCH 3/3] bootchart: use 'n/a' if PRETTY_NAME is not found

2014-09-26 Thread Thomas H.P. Andersen
From: Thomas Hindoe Paaboel Andersen Spotted with coverity. If parsing both /etc/os-release and /usr/lib/os-release fails then null would be passed on. The calls to parse the two files are allowed to fail. A empty /etc may not have had the /etc/os-release symlink restored yet and we just try agai

Re: [systemd-devel] [PATCH 3/3] bootchart: use 'n/a' if PRETTY_NAME is not found

2014-10-03 Thread Zbigniew Jędrzejewski-Szmek
On Fri, Sep 26, 2014 at 10:01:32PM +0200, Thomas H.P. Andersen wrote: > From: Thomas Hindoe Paaboel Andersen > > Spotted with coverity. If parsing both /etc/os-release and > /usr/lib/os-release fails then null would be passed on. The calls > to parse the two files are allowed to fail. A empty /et