diff --git a/internal/policies/privilege/privilege.go b/internal/policies/privilege/privilege.go index 7e234e35b..4261ac312 100644 --- a/internal/policies/privilege/privilege.go +++ b/internal/policies/privilege/privilege.go @@ -386,7 +386,7 @@ func polkitAdminIdentitiesFromRules(ctx context.Context, rulesDirPaths []string) } // If we get an error when reading the file, it's likely due to it being a directory. // This case we can ignore and continue to the next file. - log.Debugf(ctx, gotext.Get("Ignoring %s: %v", path, err)) + log.Debug(ctx, gotext.Get("Ignoring %s: %v", path, err)) continue } rules := string(b) @@ -402,7 +402,7 @@ func polkitAdminIdentitiesFromRules(ctx context.Context, rulesDirPaths []string) continue } - log.Debugf(ctx, gotext.Get("Using polkit admin identities from %q", path)) + log.Debug(ctx, gotext.Get("Using polkit admin identities from %q", path)) return strings.Join(userRegex.FindAllString(returnStmt, -1), ","), nil } }