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:
parent
681b605de7
commit
8b57730610
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue