tdam-client: Don't bail out when there are no succesful authentications. - tordam - A library for peer discovery inside the Tor network
HTML git clone https://git.parazyd.org/tordam
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit a5268a9c66563b358d6b2d957051c3a10389ead9
DIR parent 6a0b869fb0824f40c26b43bce91795db2ddeaeaa
HTML Author: parazyd <parazyd@dyne.org>
Date: Sat, 27 Oct 2018 13:28:54 +0200
dam-client: Don't bail out when there are no succesful authentications.
Diffstat:
M cmd/dam-client/main.go | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
---
DIR diff --git a/cmd/dam-client/main.go b/cmd/dam-client/main.go
t@@ -329,9 +329,7 @@ func main() {
wg.Wait()
if ann < 1 {
- // TODO: Should we bail out at this point or not?
- cmd.Process.Kill()
- log.Fatalln("No successful authentications. Exiting.")
+ log.Println("No successful authentications.")
} else {
log.Printf("Successfully authenticated with %d nodes.\n", ann)
}