forked from ungleich-public/cdist
Fix SC2069 (wrong stdout/stderr redirect order)
In the original order, stderr was connected to the old stdout (terminal). This was _probably_ not intended. The new order fixes this by first connecting stdout to /dev/null and then attaching stderr to that as well.
This commit is contained in:
parent
ef8ec8641e
commit
a6fdf4255a
1 changed files with 1 additions and 1 deletions
|
@ -22,6 +22,6 @@
|
|||
#
|
||||
#
|
||||
|
||||
if command -v uname 2>&1 >/dev/null; then
|
||||
if command -v uname >/dev/null 2>&1 ; then
|
||||
uname -m
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue