diff options
-rw-r--r-- | src/leap/eip/checks.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/leap/eip/checks.py b/src/leap/eip/checks.py index 24e97335..4dd4a95c 100644 --- a/src/leap/eip/checks.py +++ b/src/leap/eip/checks.py @@ -84,8 +84,9 @@ class LeapNetworkChecker(object): if not platform.system() == "Linux": raise NotImplementedError - with open("/proc/net/route") as f: - route_table = f.readlines() + f = open("/proc/net/route") + route_table = f.readlines() + f.close() #toss out header route_table.pop(0) @@ -395,7 +396,6 @@ class EIPConfigChecker(object): # We should WRITE eip config if missing or # incomplete at this point - # # private helpers # |