mirror of
https://github.com/safing/portmaster
synced 2025-04-09 13:39:10 +00:00
Warn instead of failing when process username cannot be found
This commit is contained in:
parent
af3bb804bf
commit
a99b68ec91
1 changed files with 1 additions and 1 deletions
|
@ -256,7 +256,7 @@ func loadProcess(ctx context.Context, key string, pInfo *processInfo.Process) (*
|
|||
// Username
|
||||
process.UserName, err = pInfo.UsernameWithContext(ctx)
|
||||
if err != nil {
|
||||
return nil, fmt.Errorf("process: failed to get Username for p%d: %w", pInfo.Pid, err)
|
||||
log.Tracer(ctx).Warningf("process: failed to get username (PID %d): %s", pInfo.Pid, err)
|
||||
}
|
||||
|
||||
// TODO: User Home
|
||||
|
|
Loading…
Add table
Reference in a new issue