diff options
Diffstat (limited to 'inspector')
-rwxr-xr-x | inspector/virt-inspector.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inspector/virt-inspector.pl b/inspector/virt-inspector.pl index 6d3c472f..e51bfdd4 100755 --- a/inspector/virt-inspector.pl +++ b/inspector/virt-inspector.pl @@ -630,7 +630,7 @@ sub check_for_kernels # List modules. my @modules; foreach ($g->find ("/lib/modules/$_")) { - if (m,/([^/]+)\.ko,) { + if (m,/([^/]+)\.ko$, || m,([^/]+)\.o$,) { push @modules, $1; } } |