]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Add logic for handling systemd-machined non-existance
authorDaniel P. Berrange <berrange@redhat.com>
Mon, 22 Jul 2013 15:33:37 +0000 (16:33 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Tue, 23 Jul 2013 21:35:26 +0000 (22:35 +0100)
commit666bff4faf111537b6e93910bfa86bcb6124ef9c
tree3bad28ca8c4f76cadccec2d5bce011e7a7cc99c1
parentc64904b7459b2f21e55221bf977119dc77a4be55
Add logic for handling systemd-machined non-existance

If systemd machine does not exist, return -2 instead of -1,
so that applications don't need to repeat the tedious error
checking code

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
src/util/virsystemd.c
tests/virsystemdmock.c
tests/virsystemdtest.c