From 4cd5be396d6af7647df51748c0415f5c2997d5b8 Mon Sep 17 00:00:00 2001 From: Marco Ippolito Date: Sun, 18 Jan 2015 20:44:17 +0100 Subject: [PATCH] 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. --- hacking/env-setup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hacking/env-setup b/hacking/env-setup index beeeb468017..a261783b4b2 100644 --- a/hacking/env-setup +++ b/hacking/env-setup @@ -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