Fix #816
This commit is contained in:
@@ -128,7 +128,7 @@ class ShadowsocksNatService extends BaseService {
|
||||
|
||||
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() {
|
||||
|
||||
@@ -216,7 +216,7 @@ class ShadowsocksVpnService extends VpnService with BaseService {
|
||||
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 startShadowsocksUDPDaemon() {
|
||||
|
||||
Reference in New Issue
Block a user