cfg fix 2
This commit is contained in:
parent
1417f53863
commit
1dd2d3076d
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue