chiark / gitweb /
systemctl: properly initialize and free sd_bus_error in "systemctl cat"
authorLennart Poettering <lennart@poettering.net>
Mon, 16 Dec 2013 19:53:55 +0000 (20:53 +0100)
committerLennart Poettering <lennart@poettering.net>
Mon, 16 Dec 2013 20:06:57 +0000 (21:06 +0100)
commit999b600390a2dff43d3367119ad594b7c40ed50d
tree472c475fb84d2ef1b46dad1de016c751c037cc86
parent1c5f57c5a73a90513f1f9c1f534923323b61f68f
systemctl: properly initialize and free sd_bus_error in "systemctl cat"

We need to properly initialize all error structs before use and free
them after use.

Also, there's no point in flushing stdout if we output a \n anyway...
src/core/service.c
src/systemctl/systemctl.c