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:
parent
bc0f0f838e
commit
4cd5be396d
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue