Skip to content
Snippets Groups Projects
Commit 00cbb348 authored by cody burkard's avatar cody burkard
Browse files

if we do not receive a ping and cannot parse output, return errorTuple

parent cde6c3aa
No related branches found
No related tags found
No related merge requests found
...@@ -595,6 +595,8 @@ def _parsePingFull( pingOutput ): ...@@ -595,6 +595,8 @@ def _parsePingFull( pingOutput ):
r += r'(\d+\.\d+)/(\d+\.\d+)/(\d+\.\d+)/(\d+\.\d+) ms' r += r'(\d+\.\d+)/(\d+\.\d+)/(\d+\.\d+)/(\d+\.\d+) ms'
m = re.search( r, pingOutput ) m = re.search( r, pingOutput )
if m is None: if m is None:
if received == 0:
return errorTuple
error( '*** Error: could not parse ping output: %s\n' % error( '*** Error: could not parse ping output: %s\n' %
pingOutput ) pingOutput )
return errorTuple return errorTuple
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment