]> xenbits.xensource.com Git - libvirt.git/commit
virkmodtest: Don't fail if modprobe doesn't exist
authorMichal Privoznik <mprivozn@redhat.com>
Thu, 14 Feb 2019 15:25:44 +0000 (16:25 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Thu, 14 Feb 2019 17:03:10 +0000 (18:03 +0100)
commitfa5db009c98fd0363b69d225704b9346930fd926
treeefcd2052aa1aee1e800b25e9d82c789a386262da
parentd3e5c3605a66c04e809591fb4920f5d72e72a736
virkmodtest: Don't fail if modprobe doesn't exist

On some very basic installations (e.g. some container images) the
modprobe binary might be missing. If that is the case, don't fail
virkmodtest.

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