Skip to contentSkip to conversation

New: Stream redirection in log_check() does not work with /bin/sh

Bug 1457 [email protected] 1 participant 1 message Oct 6, 2006

lore
Share & tools
lore
#0 lore raw

http://bugs.openembedded.org/show_bug.cgi?id=1457

Summary: Stream redirection in log_check() does not work with
/bin/sh
Product: Openembedded
Version: unspecified
Platform: Other
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Distributions
AssignedTo: [email protected]
ReportedBy: [email protected]
QAContact: [email protected]

Consider the following code:

if (echo "$lf_txt" | grep -v log_check | grep "$keyword_die") &>/dev/null

This fails if /bin/sh points to a dumb shell, like e.g. /bin/dash.

Signature · 3 lines
Configure bugmail: http://bugs.openembedded.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.