diff --git a/meta/recipes-devtools/run-postinsts/run-postinsts/run-postinsts b/meta/recipes-devtools/run-postinsts/run-postinsts/run-postinsts index 2593066da0..d1bf582b0c 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