]> code.ossystems Code Review - openembedded-core.git/commitdiff
run-postinsts: Fix typo
authorYi Zhao <yi.zhao@windriver.com>
Wed, 17 Jul 2013 09:09:24 +0000 (17:09 +0800)
committerSaul Wold <sgw@linux.intel.com>
Thu, 18 Jul 2013 19:21:12 +0000 (12:21 -0700)
Fix a typo for stderr redirection.

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
meta/recipes-devtools/run-postinsts/run-postinsts/run-postinsts

index 2593066da0f2f5dada4e990d198a441bf8fbe3ad..d1bf582b0cb0a750455213b2f29e6b2cca981518 100755 (executable)
@@ -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