Re: [PATCH s6] s6-setsid: Only open /dev/tty if it's actually needed

From: Laurent Bercot <ska-skaware_at_skarnet.org>
Date: Sat, 28 Mar 2026 12:10:26 +0000

>- else if (wgolb & (GOLB_PGRP | GOLB_FG))
>+ else if ((wgolb & GOLB_PGRP) && (wgolb & GOLB_FG))

  Right, it needs to be an AND, not an OR.
  I fixed it with a simpler expression. ;)

  Thanks!

--
  Laurent
Received on Sat Mar 28 2026 - 13:10:26 CET

This archive was generated by hypermail 2.4.0 : Sat Mar 28 2026 - 13:10:59 CET