This commit is contained in:
Max Lv
2014-11-30 21:26:57 +08:00
parent 97dd8fa15e
commit 4df7634fae
6 changed files with 11 additions and 6 deletions
@@ -354,7 +354,7 @@ class ShadowsocksNatService extends Service with BaseService {
cmd.append("kill -9 %d".format(pid))
Process.killProcess(pid)
} catch {
case e: Throwable => Log.e(TAG, "unable to kill " + task, e)
case e: Throwable => Log.e(TAG, "unable to kill " + task)
}
cmd.append("rm -f %s%s-nat.pid".format(Path.BASE, task))
cmd.append("rm -f %s%s-nat.conf".format(Path.BASE, task))