mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-05 05:04:24 +00:00
cfg fix 2
This commit is contained in:
parent
1417f53863
commit
1dd2d3076d
@ -178,7 +178,8 @@ impl Command {
|
||||
cvt_r(|| libc::dup2(fd, libc::STDERR_FILENO))?;
|
||||
}
|
||||
|
||||
if cfg!(not(any(target_os = "l4re"))) {
|
||||
#[cfg(not(any(target_os = "l4re")))]
|
||||
{
|
||||
if let Some(u) = self.get_gid() {
|
||||
cvt(libc::setgid(u as gid_t))?;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user