We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 07ed7f1 commit b86f827Copy full SHA for b86f827
1 file changed
apps/simple-camera/device-farm-tests/AwsTestSpecIOS.yml
@@ -37,9 +37,9 @@ phases:
37
- |
38
set -euo pipefail
39
40
- METRO_HOST_IP="$(ifconfig utun1 2>/dev/null | awk '/inet6 / {ip=$2} END {print ip}')"
+ METRO_HOST_IP="$(ifconfig utun1 2>/dev/null | awk '/inet6 / {ip=$2} END {print ip}' || true)"
41
if [ -z "$METRO_HOST_IP" ]; then
42
- METRO_HOST_IP="$(ifconfig utun0 2>/dev/null | awk '/inet6 / {ip=$2} END {print ip}')"
+ METRO_HOST_IP="$(ifconfig utun0 2>/dev/null | awk '/inet6 / {ip=$2} END {print ip}' || true)"
43
fi
44
45
METRO_HOST_IP="${METRO_HOST_IP%%%*}"
0 commit comments