File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff 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 } ) ?;
You can’t perform that action at this time.
0 commit comments