From 8b67848d5c63ec08e6326fc59ccea5e7cf98ba34 Mon Sep 17 00:00:00 2001 From: Clayton Craft Date: Sun, 5 Mar 2023 23:54:15 -0800 Subject: [PATCH] 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... --- internal/filelist/modules/modules.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/filelist/modules/modules.go b/internal/filelist/modules/modules.go index 74d4580..3a5bae2 100644 --- a/internal/filelist/modules/modules.go +++ b/internal/filelist/modules/modules.go @@ -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 {