New: Stream redirection in log_check() does not work with /bin/sh
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.