]> git.ipfire.org Git - thirdparty/libvirt.git/commit
lxc: Make lxcProcessStop callable even without PID being available
authorMartin Kletzander <mkletzan@redhat.com>
Fri, 21 Jul 2017 13:56:46 +0000 (15:56 +0200)
committerMartin Kletzander <mkletzan@redhat.com>
Tue, 25 Jul 2017 15:02:27 +0000 (17:02 +0200)
commitaa0dfb91d547e4020018e77fd3211e35c6311de9
treee8fa5b90a9c913737ad0392ea09cf896ccb8fbc2
parent2e6ecba1bcac898e1714db423cf3549c0d5f1ce0
lxc: Make lxcProcessStop callable even without PID being available

This way the function can work as a central point of clean-up code and
we don't have to duplicate code.  And it works similarly to the qemu
driver.

Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
src/lxc/lxc_process.c