]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virCommandExec: Report error if execve fails
authorMichal Privoznik <mprivozn@redhat.com>
Mon, 11 Jul 2016 14:03:34 +0000 (16:03 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Tue, 12 Jul 2016 11:34:35 +0000 (13:34 +0200)
commitca10bb040fcf2c2447fff072de58e028578d2d81
tree595781de4bc7c9469461b2723bd06132f12f7070
parent88c61785b22d969aec26610050af73b5fbdc8d03
virCommandExec: Report error if execve fails

In an unlikely event of execve() failing, the virCommandExec()
function does not report any error, even though checks that are
at the beginning of the function are verbose when failing.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
src/util/vircommand.c
tests/commandtest.c