On 2014-01-17 13:36:01 +0800, Chris Down wrote:
> +run_silent() {
> +     {
> +             (( silent )) && exec &>/dev/null
> +             "$@"
> +     }
> +}

Agh, this has a bug -- the exec call needs to be in a subshell with the
command, not just a command group. When I was writing the patch, this
wasn't in a function, and I guess I somehow changed them to curly braces
when I moved them up.

Another patch incoming. Sorry for the extra noise.

Attachment: pgpNacNb8twe3.pgp
Description: PGP signature



Reply via email to