summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/gcc/gcc-cross.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-cross.inc')
-rw-r--r--meta/recipes-devtools/gcc/gcc-cross.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-cross.inc b/meta/recipes-devtools/gcc/gcc-cross.inc
index b16c57d399..e7a5e41be8 100644
--- a/meta/recipes-devtools/gcc/gcc-cross.inc
+++ b/meta/recipes-devtools/gcc/gcc-cross.inc
@@ -65,7 +65,7 @@ then
65 exit 1; 65 exit 1;
66fi 66fi
67 67
68echo "\$target" | grep "@" >& /dev/null 68echo "\$target" | grep "@" 2>&1 > /dev/null
69if [ "x\$?" = "x0" ] 69if [ "x\$?" = "x0" ]
70then 70then
71 user=\$(echo \$target | cut -d '@' -f 1) 71 user=\$(echo \$target | cut -d '@' -f 1)
@@ -73,7 +73,7 @@ then
73else 73else
74 user=\$USER 74 user=\$USER
75fi 75fi
76ssh \$user@\$target date >& /dev/null 76ssh \$user@\$target date 2>&1 > /dev/null
77if [ "x\$?" != "x0" ] 77if [ "x\$?" != "x0" ]
78then 78then
79 echo "Failed connecting to \$user@\$target it could be because" 79 echo "Failed connecting to \$user@\$target it could be because"