Skip to content

Commit b86f827

Browse files
committed
fix stopping early
1 parent 07ed7f1 commit b86f827

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

apps/simple-camera/device-farm-tests/AwsTestSpecIOS.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@ phases:
3737
- |
3838
set -euo pipefail
3939
40-
METRO_HOST_IP="$(ifconfig utun1 2>/dev/null | awk '/inet6 / {ip=$2} END {print ip}')"
40+
METRO_HOST_IP="$(ifconfig utun1 2>/dev/null | awk '/inet6 / {ip=$2} END {print ip}' || true)"
4141
if [ -z "$METRO_HOST_IP" ]; then
42-
METRO_HOST_IP="$(ifconfig utun0 2>/dev/null | awk '/inet6 / {ip=$2} END {print ip}')"
42+
METRO_HOST_IP="$(ifconfig utun0 2>/dev/null | awk '/inet6 / {ip=$2} END {print ip}' || true)"
4343
fi
4444
4545
METRO_HOST_IP="${METRO_HOST_IP%%%*}"

0 commit comments

Comments
 (0)