mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-29 10:13:54 +00:00
Update library/std/src/sys/pal/unix/process/process_unix.rs
Co-authored-by: Josh Stone <cuviper@gmail.com>
This commit is contained in:
parent
f2d1edfea5
commit
d2f93c9707
@ -335,7 +335,7 @@ impl Command {
|
|||||||
cvt(libc::setuid(u as uid_t))?;
|
cvt(libc::setuid(u as uid_t))?;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if let Some(ref cwd) = self.get_cwd() {
|
if let Some(cwd) = self.get_cwd() {
|
||||||
cvt(libc::chdir(cwd.as_ptr()))?;
|
cvt(libc::chdir(cwd.as_ptr()))?;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user