Skip to content

Commit

Permalink
Update library/std/src/sys/pal/unix/process/process_unix.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Josh Stone <[email protected]>
  • Loading branch information
nyurik and cuviper committed Oct 9, 2024
1 parent fbb514c commit 01e7f5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion std/src/sys/pal/unix/process/process_unix.rs
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ impl Command {
cvt(libc::setuid(u as uid_t))?;
}
}
if let Some(ref cwd) = self.get_cwd() {
if let Some(cwd) = self.get_cwd() {
cvt(libc::chdir(cwd.as_ptr()))?;
}

Expand Down

0 comments on commit 01e7f5f

Please sign in to comment.