[Buildroot] [PATCH 3/4] sysv init scripts: replace &>/dev/null redirection
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Sun Oct 26 17:53:24 UTC 2014
Dear André Erdmann,
On Sun, 26 Oct 2014 18:41:45 +0100, André Erdmann wrote:
> "<command> &>/dev/null" is supposed to redirect all output to /dev/null.
>
> However, in shells that don't support it (dash, ash without bash extensions),
> a command like "echo a &>/dev/null" is interpreted as
>
> (a) "echo a" in background
> (b) write nothing to /dev/null (redirect <empty command> to /dev/null)
>
> This commit replaces "&>..." with ">/dev/null 2>&1".
>
> Signed-off-by: André Erdmann <dywi at mailerd.de>
> ---
> package/network-manager/S45network-manager | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Applied, thanks.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
More information about the buildroot
mailing list