Commit d2a527ed authored by Max Lv's avatar Max Lv

Fix #816

parent 07ab9387
Subproject commit ca9807a2f30e3c6c0d7eb25ee865fb46fb6aef89 Subproject commit e8349a306372700f5e5ccbda1592ced01760088c
...@@ -128,7 +128,7 @@ class ShadowsocksNatService extends BaseService { ...@@ -128,7 +128,7 @@ class ShadowsocksNatService extends BaseService {
if (BuildConfig.DEBUG) Log.d(TAG, cmd.mkString(" ")) if (BuildConfig.DEBUG) Log.d(TAG, cmd.mkString(" "))
kcptunProcess = new GuardedProcess(cmd.mkString(" ").split(" ").toSeq).start() kcptunProcess = new GuardedProcess(cmd.mkString(" ").split("[ ]{1,}").toSeq).start()
} }
def startDNSTunnel() { def startDNSTunnel() {
......
...@@ -216,7 +216,7 @@ class ShadowsocksVpnService extends VpnService with BaseService { ...@@ -216,7 +216,7 @@ class ShadowsocksVpnService extends VpnService with BaseService {
if (BuildConfig.DEBUG) if (BuildConfig.DEBUG)
Log.d(TAG, cmd.mkString(" ")) Log.d(TAG, cmd.mkString(" "))
kcptunProcess = new GuardedProcess(cmd.mkString(" ").split(" ").toSeq).start() kcptunProcess = new GuardedProcess(cmd.mkString(" ").split("[ ]{1,}").toSeq).start()
} }
def startShadowsocksUDPDaemon() { def startShadowsocksUDPDaemon() {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment