oe-git-proxy: Redirect error messages to STDERR
Darren Hart
Reviewed-byQuoted 6 lines · Juro Bystricky
oe-git-proxy script needs socat. If socat is not found, an error message is issued on STDOUT. This leads to a misleading git message:
fatal: protocol error: bad line length character: ERRO
Quoted 7 lines
instead of the intended message:
ERROR: socat binary not in PATH
Redirecting the error message to STDERR fixes this issue.
Signed-off-by Juro Bystricky <[email protected]>
Thanks Juro, good fix.
Reviewed-by Darren Hart <[email protected]>
Signature · 2 lines
Darren Hart Intel Open Source Technology Center
Hi Juro,
Quoted 10 lines · Darren Hart
Quoted 10 lines
oe-git-proxy script needs socat. If socat is not found, an error message is issued on STDOUT. This leads to a misleading git message:
fatal: protocol error: bad line length character: ERRO
instead of the intended message:
ERROR: socat binary not in PATH
Quoted 8 lines
Quoted 3 lines
Redirecting the error message to STDERR fixes this issue.
Signed-off-by Juro Bystricky <[email protected]>Thanks Juro, good fix.
Reviewed-by Darren Hart <[email protected]>
I never saw the original mail, can you re-send it to the list please?
Ross