Patchwork [2/2] rpm-postinsts.bb: Fix typo

login
register
mail settings
Submitter Yi Zhao
Date July 17, 2013, 9:09 a.m.
Message ID <e1c893658ba5eb531c87d26a7a4c7182a56c6c6d.1374051740.git.yi.zhao@windriver.com>
Download mbox | patch
Permalink /patch/53843/
State Accepted
Commit 16b411ee60fbe288475b933bae73eafdd1cde9fb
Headers show

Comments

Yi Zhao - July 17, 2013, 9:09 a.m.
Fix a typo for stderr redirection.

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

Patch

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