]> git.ipfire.org Git - thirdparty/libvirt.git/commit
command: avoid hanging on daemon processes
authorEric Blake <eblake@redhat.com>
Tue, 21 Dec 2010 18:49:49 +0000 (11:49 -0700)
committerEric Blake <eblake@redhat.com>
Tue, 21 Dec 2010 18:49:49 +0000 (11:49 -0700)
commitc7f28dec60bcbaf95f5a419bb5a9cb5197089253
tree50d4b4cf160e567ff15aab7c352a8186072342f1
parent973ada0e0bd2dd76270eecc0072acc8aed889e7e
command: avoid hanging on daemon processes

* src/util/command.c (virCommandRun): Don't capture output on
daemons.
* tests/commandtest.c (test18): Expose the bug.
Reported by Laine Stump.
src/util/command.c
tests/commandtest.c