Fix a typo for stderr redirection.

Signed-off-by: Yi Zhao <yi.z...@windriver.com>
---
 .../run-postinsts/run-postinsts/run-postinsts      |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-devtools/run-postinsts/run-postinsts/run-postinsts 
b/meta/recipes-devtools/run-postinsts/run-postinsts/run-postinsts
index 2593066..d1bf582 100755
--- a/meta/recipes-devtools/run-postinsts/run-postinsts/run-postinsts
+++ b/meta/recipes-devtools/run-postinsts/run-postinsts/run-postinsts
@@ -26,7 +26,7 @@ for i in `ls $pi_dir`; do
        echo "Running postinst $i..."
        if [ -x $i ]; then
                if [ "$POSTINST_LOGGING" = "1" ]; then
-                       sh -c $i >>$LOGFILE 2&>1
+                       sh -c $i >>$LOGFILE 2>&1
                else
                        sh -c $i
                fi
-- 
1.7.9.5

_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to