mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2024-12-20 21:43:08 +00:00
remove some extra logging
This commit is contained in:
parent
b4f3dfc347
commit
51e74f8d4f
@ -22,19 +22,10 @@ class ServiceCom: NSObject {
|
||||
// authtoken.secret exists, use it.
|
||||
|
||||
var appSupportDir = try NSFileManager.defaultManager().URLForDirectory(.ApplicationSupportDirectory, inDomain: .UserDomainMask, appropriateForURL: nil, create: false)
|
||||
NSLog("\(appSupportDir)")
|
||||
|
||||
|
||||
appSupportDir = appSupportDir.URLByAppendingPathComponent("ZeroTier")
|
||||
NSLog("\(appSupportDir)")
|
||||
|
||||
appSupportDir = appSupportDir.URLByAppendingPathComponent("One")
|
||||
NSLog("\(appSupportDir)")
|
||||
|
||||
let authtokenURL = appSupportDir.URLByAppendingPathComponent("authtoken.secret")
|
||||
|
||||
NSLog("\(authtokenURL)")
|
||||
|
||||
if NSFileManager.defaultManager().fileExistsAtPath(authtokenURL.path!) {
|
||||
Holder.key = try String(contentsOfURL: authtokenURL)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user