1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

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