Patchwork [1/2] run-postinsts: Fix typo

login
register
mail settings
Submitter Yi Zhao
Date July 17, 2013, 9:09 a.m.
Message ID <55deaf5fb61cf1ea697beb1126f8a5177864f9cb.1374051740.git.yi.zhao@windriver.com>
Download mbox | patch
Permalink /patch/53841/
State Accepted
Commit b03c670d44b28c673393468bbe62919f3f8186de
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>
---
 .../run-postinsts/run-postinsts/run-postinsts      |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

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