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 d2f93c9 commit 442d766
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(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 442d766

Please sign in to comment.