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:
Clayton Craft
2023-03-05 23:54:15 -08:00
parent 31ab72edbc
commit 8b67848d5c

View File

@@ -30,7 +30,7 @@ func New(modulesList []string, modulesListPath string) *Modules {
}
func (m *Modules) List() (*filelist.FileList, error) {
log.Println("- Including kernel modules")
log.Println("- Including kernel modules from ", m.modulesListPath)
kernVer, err := osutil.GetKernelVersion()
if err != nil {