Fix incorrect handling of default values on database upgrade

This commit is contained in:
Mygod
2016-08-09 04:34:51 +08:00
parent 3cc1a1602e
commit 984e75ae99
4 changed files with 13 additions and 9 deletions
@@ -116,6 +116,7 @@ class ShadowsocksNatService extends BaseService {
}
def startKcptunDaemon() {
if (profile.kcpcli == null) profile.kcpcli = ""
val cmd = new ArrayBuffer[String]
cmd += (getApplicationInfo.dataDir + "/kcptun"