diff options
author | André Erdmann <dywi@mailerd.de> | 2014-10-26 18:41:45 +0100 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2014-10-26 18:51:21 +0100 |
commit | 5065d475fb9e33f8b6cceb2d44326cffece22999 (patch) | |
tree | a593a846564cc7e3b5850c882f657cb4ed19753e /package/mesa3d-demos/0001-demos-non-mesa-impl.patch | |
parent | 2113ed46b2ea6ce7e44c7af566059d4d1a1504ae (diff) | |
download | buildroot-5065d475fb9e33f8b6cceb2d44326cffece22999.tar.gz buildroot-5065d475fb9e33f8b6cceb2d44326cffece22999.zip |
sysv init scripts: replace &>/dev/null redirection
"<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@mailerd.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/mesa3d-demos/0001-demos-non-mesa-impl.patch')
0 files changed, 0 insertions, 0 deletions