summaryrefslogtreecommitdiff
path: root/src/leap/services
diff options
context:
space:
mode:
authorIvan Alejandro <ivanalejandro0@gmail.com>2013-07-25 16:07:19 -0300
committerIvan Alejandro <ivanalejandro0@gmail.com>2013-07-25 16:07:19 -0300
commitb1a3890c54a53a439f48692237336b08aec741e7 (patch)
tree67e1ebb9c15f4e6e8e2d80811d629eba18dbaf63 /src/leap/services
parent3d4819112c609ea8103b66f636a946e0a26b33f6 (diff)
Fix cmd string to replace placeholders correctly.
Diffstat (limited to 'src/leap/services')
-rw-r--r--src/leap/services/eip/vpnlaunchers.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/leap/services/eip/vpnlaunchers.py b/src/leap/services/eip/vpnlaunchers.py
index 63c01796..81d9b43b 100644
--- a/src/leap/services/eip/vpnlaunchers.py
+++ b/src/leap/services/eip/vpnlaunchers.py
@@ -268,7 +268,7 @@ class LinuxVPNLauncher(VPNLauncher):
"""
to = kls.SYSTEM_CONFIG
cmd = "#!/bin/sh\nset -e\nmkdir -p %s\n"
- cmd += "cp %s/%s %s\ncp \"%s\" \"%s\"" % (
+ cmd = (cmd + "cp %s/%s %s\ncp \"%s\" \"%s\"") % (
to,
frompath, kls.UP_DOWN_FILE, to,
pol_file, kls.POLKIT_PATH)