]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virSysinfoReadDMI: Drop needless virFindFileInPath()
authorMichal Privoznik <mprivozn@redhat.com>
Mon, 8 Jun 2020 08:49:36 +0000 (10:49 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Wed, 10 Jun 2020 12:00:38 +0000 (14:00 +0200)
commitf603b99ad9becae453c2e9056a8bf1e082c7f68b
treeafa43ade006d228ea2f73339498e7d47060da44f
parent30ccd5533841a4e0b2b1ff4e799f30af1bf254ee
virSysinfoReadDMI: Drop needless virFindFileInPath()

When trying to decode DMI table, just before constructing
virCommand() the decoder is looked for in PATH using
virFindFileInPath(). Well, this is not necessary because
virCommandRun() will do this too (in virExec()).

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
src/util/virsysinfo.c