Cleaning up dependencies.
This commit is contained in:
@@ -9,7 +9,7 @@ import (
|
||||
|
||||
"vppn/peer"
|
||||
|
||||
"git.crumpington.com/lib/go/flock"
|
||||
"git.crumpington.com/lib/flock"
|
||||
)
|
||||
|
||||
func main() {
|
||||
@@ -34,9 +34,6 @@ func main() {
|
||||
if err != nil {
|
||||
log.Fatalf("lock: %v", err)
|
||||
}
|
||||
if lockFile == nil {
|
||||
log.Fatalf("already running for network %q", *name)
|
||||
}
|
||||
defer flock.Unlock(lockFile)
|
||||
|
||||
state, err := peer.LoadOrInit(vppnPath(*name, "state.json"), *hub, apiKey)
|
||||
|
||||
Reference in New Issue
Block a user