summaryrefslogtreecommitdiff
path: root/src/leap/util/certs.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/leap/util/certs.py')
-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