Skip to content

Commit 1dd2d30

Browse files
authored
cfg fix 2
1 parent 1417f53 commit 1dd2d30

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/libstd/sys/unix/process/process_unix.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,8 @@ impl Command {
178178
cvt_r(|| libc::dup2(fd, libc::STDERR_FILENO))?;
179179
}
180180

181-
if cfg!(not(any(target_os = "l4re"))) {
181+
#[cfg(not(any(target_os = "l4re")))]
182+
{
182183
if let Some(u) = self.get_gid() {
183184
cvt(libc::setgid(u as gid_t))?;
184185
}

0 commit comments

Comments
 (0)