Skip to content

Commit f68e889

Browse files
committed
Incorporate review feedback.
1 parent 0bf3758 commit f68e889

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/process.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ mod unix {
159159
// crate, we define fallback functions and overwrite their symbol
160160
// if possible using a glob import.
161161
//
162-
// For setting uid and gid, we need to cascase: Use `setresuid`
162+
// For setting uid and gid, we need to cascade: Use `setresuid`
163163
// if available, otherwise use `setreuid` if available, otherwise
164164
// use `setuid`; analogous for gid. We achieve this by having
165165
// the fallback call the next step which may itself be a fallback.
@@ -238,8 +238,7 @@ mod unix {
238238

239239
initgroups(&user.c_name, gid).map_err(|err| {
240240
error!(
241-
"failed to initgroups {}: {}",
242-
user.name, err
241+
"failed to initialize the group access list: {err}",
243242
);
244243
Failed
245244
})?;

0 commit comments

Comments
 (0)