Fix 32-bit build, add 386 to CI, log scan completion

This commit is contained in:
Andy Dixon
2026-10-02 08:33:47 +01:00
parent b771a57bc4
commit 6bb8ddc0f7
4 changed files with 11 additions and 3 deletions
+2
View File
@@ -11,6 +11,7 @@ import (
"context"
"errors"
"fmt"
"log/slog"
"os"
"path/filepath"
"runtime"
@@ -358,6 +359,7 @@ func (c *controller) apply(r *result, cancelled bool) bool {
dn.Flags |= inventory.FlagIncomplete
t.Stats.Unscanned++
default:
slog.Debug("read directory failed", "path", j.path, "err", r.err)
dn.Flags |= inventory.FlagError | inventory.FlagIncomplete
t.Stats.AddError(inventory.ErrorRecord{Node: dir, Kind: inventory.Classify(r.err), Msg: errMsg(r.err)})
d.Errors++