Merge pull request #28 from costateixeira/patch-3

Force ipv4 in online check
This commit is contained in:
Lloyd McKenzie 2020-06-17 14:20:06 -06:00 committed by GitHub
commit 52a5e2e541
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -19,7 +19,7 @@ IF "%~1"=="/f" SET skipPrompts=true
ECHO.
ECHO Checking internet connection...
PING tx.fhir.org -n 1 -w 1000 | FINDSTR TTL && GOTO isonline
PING tx.fhir.org -4 -n 1 -w 1000 | FINDSTR TTL && GOTO isonline
ECHO We're offline, nothing to do...
GOTO end
@ -215,4 +215,4 @@ start copy /y "_updatePublisher.new.bat" "_updatePublisher.bat" ^&^& del "_updat
IF "%skipPrompts%"=="true" (
PAUSE
}
}