mirror of
https://github.com/munki/munki.git
synced 2026-05-08 13:29:29 -05:00
Fix typo in networkUp() when checking for non-loopback interfaces
This commit is contained in:
@@ -92,7 +92,7 @@ def networkUp():
|
||||
if 'inet' in line:
|
||||
parts = line.split()
|
||||
addr = parts[1]
|
||||
if not addr in ['127.0.0.1', '0.0.0.0.0']:
|
||||
if not addr in ['127.0.0.1', '0.0.0.0']:
|
||||
return True
|
||||
return False
|
||||
|
||||
|
||||
Reference in New Issue
Block a user