fix ref in process_vxworks.rs
This commit is contained in:
parent
d2f93c9707
commit
442d766cc1
1 changed files with 1 additions and 1 deletions
|
@ -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())));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue