On Tue, Apr 29, 2025 at 12:14:14 +0100, Daniel P. Berrangé via Devel wrote:
> From: Daniel P. Berrangé <berra...@redhat.com>
> 
> Allow virCommand to find 'modprobe' & 'rmmod' in $PATH. These commands
> are only used when running privileged in which case both 'bin' and
> 'sbin' dirs will be in $PATH, so virFindFileInPath will do the right
> thing to find them.
> 
> Signed-off-by: Daniel P. Berrangé <berra...@redhat.com>
> ---
>  meson.build         | 2 --
>  src/util/virkmod.c  | 4 ++--
>  tests/virkmodtest.c | 4 ++--
>  3 files changed, 4 insertions(+), 6 deletions(-)

Reviewed-by: Peter Krempa <pkre...@redhat.com>

Reply via email to