Skip to content

Commit

Permalink
Update library/std/src/sys/pal/unix/process/process_vxworks.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Josh Stone <cuviper@gmail.com>
  • Loading branch information
nyurik and cuviper committed Oct 9, 2024
1 parent 442d766 commit a278f15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/std/src/sys/pal/unix/process/process_vxworks.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ impl Command {
t!(cvt_r(|| libc::dup2(fd, libc::STDERR_FILENO)));
}

if let Some(cwd) = *self.get_cwd() {
if let Some(cwd) = self.get_cwd() {
t!(cvt(libc::chdir(cwd.as_ptr())));
}

Expand Down

0 comments on commit a278f15

Please sign in to comment.