fix ref in process_vxworks.rs

This commit is contained in:
Yuri Astrakhan 2024-10-08 20:21:27 -04:00
parent d2f93c9707
commit 442d766cc1

View file

@ -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())));
}