We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 61fc773 commit 5d36ecaCopy full SHA for 5d36eca
1 file changed
envinspection/inspection.go
@@ -64,7 +64,8 @@ func inspectInstalledSoftware(ctx context.Context, module *model.Module) {
64
pkgs, e := f(ctx)
65
if e != nil {
66
LOG.Warnf("Software inspection error(%s): %s, ", fn, e)
67
- if errors.Is(e, fs.ErrNotExist) {
+ if errors.Is(e, fs.ErrNotExist) || errors.Is(e, exec.ErrNotFound) {
68
+ LOG.Debug("Skipping command due to missing executable: ", fn)
69
continue
70
}
71
var pError *exec.ExitError
0 commit comments