summaryrefslogtreecommitdiff
path: root/src/leap/util
diff options
context:
space:
mode:
authorkali <kali@leap.se>2013-01-17 05:54:16 +0900
committerkali <kali@leap.se>2013-01-17 05:55:01 +0900
commitd6c8cb0f12e8924820c296a8114a7899f61e5180 (patch)
tree203eee2a5cd90c12187007ba0a4bdd48243abd7d /src/leap/util
parent68af5b2f807ac8acd9525d46d37cfd2a28a06b47 (diff)
(osx) detect which interface is traffic going thru
Diffstat (limited to 'src/leap/util')
-rw-r--r--src/leap/util/certs.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/leap/util/certs.py b/src/leap/util/certs.py
index 304db08a..f0f790e9 100644
--- a/src/leap/util/certs.py
+++ b/src/leap/util/certs.py
@@ -14,4 +14,5 @@ def get_mac_cabundle():
#logger.error('VERIFY PATH = %s' % verify)
exists = os.path.isfile(verify)
#logger.error('do exist? %s', exists)
- return verify
+ if exists:
+ return verify