On Thu, Feb 23, 2017 at 12:53 PM +0100, Ján Tomko wrote:
> Both virSystemdTerminateMachine and virSystemdCreateMachine
> propagate the error to tell between a non-systemd system
> and a hard error.
>
> In virSystemdGetMachineNameByPID both are treated the same,
> but an error
On Thu, Feb 23, 2017 at 12:53:06PM +0100, Ján Tomko wrote:
> Both virSystemdTerminateMachine and virSystemdCreateMachine
> propagate the error to tell between a non-systemd system
> and a hard error.
>
> In virSystemdGetMachineNameByPID both are treated the same,
> but an error is ignored by the
Both virSystemdTerminateMachine and virSystemdCreateMachine
propagate the error to tell between a non-systemd system
and a hard error.
In virSystemdGetMachineNameByPID both are treated the same,
but an error is ignored by the callers.
Split out the checks into a separate function.
---