Skip to content

Commit

Permalink
fixup! fixup! Support for Polkit 124
Browse files Browse the repository at this point in the history
  • Loading branch information
denisonbarbosa committed Dec 2, 2024
1 parent ec0993e commit aa6eb5a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/policies/privilege/privilege.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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
}
}
Expand Down

0 comments on commit aa6eb5a

Please sign in to comment.