summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-devtools/rpm/rpm-postinsts.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-devtools/rpm/rpm-postinsts.bb b/meta/recipes-devtools/rpm/rpm-postinsts.bb
index c8fc1c33f4..ba58cd49b1 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