Skip to content
Snippets Groups Projects
Commit 34b54b49 authored by Chris Lamb's avatar Chris Lamb :eyes:
Browse files

Return '0' as the version if we can't parse one; it should be harmless.

parent 304660a5
No related branches found
No related tags found
No related merge requests found
......@@ -51,8 +51,9 @@ def readelf_version():
out.decode('utf-8'),
)
# Return '0' as the version if we can't parse one; it should be harmless.
if m is None:
return 'unknown'
return '0'
return m.group('version')
......
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