Commit 4cd5be39 by Marco Ippolito Committed by Toshio Kuratomi

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.
parent bc0f0f83
...@@ -53,7 +53,7 @@ else ...@@ -53,7 +53,7 @@ else
fi fi
cd "$ANSIBLE_HOME" cd "$ANSIBLE_HOME"
if [ "$verbosity" = silent ] ; then if [ "$verbosity" = silent ] ; then
gen_egg_info 2>1 1> /dev/null gen_egg_info 1> /dev/null 2>&1
else else
gen_egg_info gen_egg_info
fi fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment