filelist/modules: print search path for modules
By doing so, it adds more useful context to this: - Including kernel modules -- Unable to find dir, skipping... - Including kernel modules -- Unable to find dir, skipping...
This commit is contained in:
@@ -30,7 +30,7 @@ func New(modulesList []string, modulesListPath string) *Modules {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (m *Modules) List() (*filelist.FileList, error) {
|
func (m *Modules) List() (*filelist.FileList, error) {
|
||||||
log.Println("- Including kernel modules")
|
log.Println("- Including kernel modules from ", m.modulesListPath)
|
||||||
|
|
||||||
kernVer, err := osutil.GetKernelVersion()
|
kernVer, err := osutil.GetKernelVersion()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Reference in New Issue
Block a user