BUG! Incorrect order of redirection AND incorrect redirection syntax

The replaced code only created a text file called `1' in the
current directory, it did *not* redirect output.
This commit is contained in:
Marco Ippolito 2015-01-18 20:44:17 +01:00 committed by Toshio Kuratomi
parent bc0f0f838e
commit 4cd5be396d

View file

@ -53,7 +53,7 @@ else
fi
cd "$ANSIBLE_HOME"
if [ "$verbosity" = silent ] ; then
gen_egg_info 2>1 1> /dev/null
gen_egg_info 1> /dev/null 2>&1
else
gen_egg_info
fi