Re: [PATCH ipset] bash-completion: fix syntax error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Jul 21, 2023 at 11:13:11PM +0100, Jeremy Sowden wrote:
> There is a syntax error in a redirection:
> 
>   $ bash -x utils/ipset_bash_completion/ipset
>   + shopt -s extglob
>   utils/ipset_bash_completion/ipset: line 365: syntax error near unexpected token `('
>   utils/ipset_bash_completion/ipset: line 365: `done < <(PATH=${PATH}:/sbin ( command ip -o link show ) )'
> 
> Move the environment variable assignment into the sub-shell.

Applied, thanks



[Index of Archives]     [Netfitler Users]     [Berkeley Packet Filter]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux