Skip to content

Commit

Permalink
fix ref in process_vxworks.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
nyurik committed Oct 9, 2024
1 parent 01e7f5f commit cd0d5be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 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(ref cwd) = *self.get_cwd() {
if let Some(cwd) = *self.get_cwd() {
t!(cvt(libc::chdir(cwd.as_ptr())));
}

Expand Down

0 comments on commit cd0d5be

Please sign in to comment.