Fix a typo for stderr redirection.

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

diff --git a/meta/recipes-devtools/rpm/rpm-postinsts.bb 
b/meta/recipes-devtools/rpm/rpm-postinsts.bb
index c8fc1c3..ba58cd4 100644
--- a/meta/recipes-devtools/rpm/rpm-postinsts.bb
+++ b/meta/recipes-devtools/rpm/rpm-postinsts.bb
@@ -36,7 +36,7 @@ if [ "x$D" != "x" ] && [ -f $D/var/lib/rpm/Packages ]; then
        echo "Running postinst $i..."
        if [ -x $i ]; then
                if [ "$POSTINST_LOGGING" = "1" ]; then
-                       $i >>$LOGFILE 2&>1
+                       $i >>$LOGFILE 2>&1
                else
                        $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