17 Jan
2014
17 Jan
'14
5:39 a.m.
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.