On 06/10/2025 8:07 pm, Roger Pau Monne wrote:
> The default shell in FreeBSD is plain sh, which doesn't support the usage
> of the '|&' operator:
>
> ./automation/scripts/console.exp |& sed 's/\r\+$//'
> /tmp/scripts34c427adc6599db29cb91221a0939d85.sh: 16: Syntax error: "&" 
> unexpected
>
> Fix this by using a redirection of stderr into stdout, and then a pipe.
>
> Fixes: a406195c15dd ("automation: call expect script with redirected standard 
> error")
> Signed-off-by: Roger Pau MonnĂ© <[email protected]>

Acked-by: Andrew Cooper <[email protected]>

It's sad that this slipped in because the CirrusCI runs were reliably
broken by the libinotify issue.

~Andrew

Reply via email to