rpm-postinsts.bb: Fix typo

Fix a typo for stderr redirection.

(From OE-Core rev: cfe3bb097df2a9e6488b4d50f61311b97959ed26)

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:25 +08:00 committed by Richard Purdie
parent 8b57730610
commit 16b411ee60
1 changed files with 1 additions and 1 deletions

View File

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