Skip to content

Commit

Permalink
cfg fix 2
Browse files Browse the repository at this point in the history
  • Loading branch information
newpavlov committed Aug 19, 2019
1 parent 1417f53 commit 1dd2d30
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/libstd/sys/unix/process/process_unix.rs
Expand Up @@ -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))?;
}
Expand Down

0 comments on commit 1dd2d30

Please sign in to comment.