run-postinsts: Fix typo

Fix a typo for stderr redirection.

(From OE-Core rev: b03c670d44b28c673393468bbe62919f3f8186de)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Yi Zhao 2013-07-17 17:09:24 +08:00 committed by Richard Purdie
parent 681b605de7
commit 8b57730610
1 changed files with 1 additions and 1 deletions

View File

@ -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