Update library/std/src/sys/pal/unix/process/process_vxworks.rs
Co-authored-by: Josh Stone <cuviper@gmail.com>
This commit is contained in:
parent
442d766cc1
commit
a278f15724
@ -57,7 +57,7 @@ macro_rules! t {
|
||||
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())));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user