Skip to content

Commit

Permalink
CYGWIN compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
riramar authored Apr 9, 2019
1 parent 06c29d7 commit 2074850
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pocsuite3/thirdparty/ifcfg/ifcfg/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def get_parser_class():
Returns the parser according to the system platform
"""
global distro
if distro == 'Linux':
if distro == 'Linux' or 'CYGWIN' in distro:
Parser = parser.LinuxParser
if not os.path.exists(Parser.get_command()[0]):
Parser = parser.UnixIPParser
Expand Down

0 comments on commit 2074850

Please sign in to comment.