path: root/scripts/oe-git-proxy
diff options
authorJuro Bystricky <>2015-03-27 17:17:35 (GMT)
committerRichard Purdie <>2015-03-31 21:23:15 (GMT)
commit88340ad5225044069cbbc1c8bb4ad27b580f7f33 (patch)
tree1d021ae5b19be9b7f1942d0bbd93e13ea872da4b /scripts/oe-git-proxy
parentaa1438b56f30515f9c31b306decef7f562dda81f (diff)
oe-git-proxy: Redirect error messages to STDERR
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 Redirecting the error message to STDERR fixes this issue. (From OE-Core rev: 960a7f7ae24e72efc165a431f8b91b3f3b176916) Signed-off-by: Juro Bystricky <> Signed-off-by: Richard Purdie <>
Diffstat (limited to 'scripts/oe-git-proxy')
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/oe-git-proxy b/scripts/oe-git-proxy
index 0ce7ed0..4873455 100755
--- a/scripts/oe-git-proxy
+++ b/scripts/oe-git-proxy
@@ -19,7 +19,7 @@
19# Locate the netcat binary 19# Locate the netcat binary
20SOCAT=$(which socat 2>/dev/null) 20SOCAT=$(which socat 2>/dev/null)
21if [ $? -ne 0 ]; then 21if [ $? -ne 0 ]; then
22 echo "ERROR: socat binary not in PATH" 22 echo "ERROR: socat binary not in PATH" 1>&2
23 exit 1 23 exit 1
24fi 24fi