summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/services/eip/linuxvpnlauncher.py
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2013-11-05 11:41:27 -0200
committerKali Kaneko <kali@leap.se>2013-11-05 11:41:27 -0200
commit603385e3f539e382077e8681cdd2477a7e0733ea (patch)
tree1d6d8f3e6e18d6d0d0fb3f629ab131f2dd366980 /src/leap/bitmask/services/eip/linuxvpnlauncher.py
parenta6d8eb70ed15ab339d695eacd3cae58a2e561ba8 (diff)
parent23e9034664edf6b2a01a677c4fa4e6efd880e364 (diff)
Merge tag '0.3.6' into debian
Tag leap.bitmask version 0.3.6
Diffstat (limited to 'src/leap/bitmask/services/eip/linuxvpnlauncher.py')
-rw-r--r--src/leap/bitmask/services/eip/linuxvpnlauncher.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/leap/bitmask/services/eip/linuxvpnlauncher.py b/src/leap/bitmask/services/eip/linuxvpnlauncher.py
index efb23285..d02f6f96 100644
--- a/src/leap/bitmask/services/eip/linuxvpnlauncher.py
+++ b/src/leap/bitmask/services/eip/linuxvpnlauncher.py
@@ -21,6 +21,7 @@ import commands
import logging
import os
import subprocess
+import sys
import time
from leap.bitmask.config import flags
@@ -231,6 +232,8 @@ class LinuxVPNLauncher(VPNLauncher):
:rtype: dict
"""
+ ld_library_path = os.path.join(get_path_prefix(), "..", "lib")
+ ld_library_path.encode(sys.getfilesystemencoding())
return {
- "LD_LIBRARY_PATH": os.path.join(get_path_prefix(), "..", "lib")
+ "LD_LIBRARY_PATH": ld_library_path
}