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.
remotes/origin/4.10
Jonas Weber 7 years ago
parent ef8ec8641e
commit a6fdf4255a
  1. 2
      cdist/conf/explorer/machine

@ -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…
Cancel
Save