summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-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 b16c57d39..e7a5e41be 100644
--- a/meta/recipes-devtools/gcc/gcc-cross.inc
+++ b/meta/recipes-devtools/gcc/gcc-cross.inc
@@ -65,7 +65,7 @@ then
exit 1;
fi
-echo "\$target" | grep "@" >& /dev/null
+echo "\$target" | grep "@" 2>&1 > /dev/null
if [ "x\$?" = "x0" ]
then
user=\$(echo \$target | cut -d '@' -f 1)
@@ -73,7 +73,7 @@ then
else
user=\$USER
fi
-ssh \$user@\$target date >& /dev/null
+ssh \$user@\$target date 2>&1 > /dev/null
if [ "x\$?" != "x0" ]
then
echo "Failed connecting to \$user@\$target it could be because"