Propagate AgreeToTOS change to CLI

This commit is contained in:
xenolf 2015-10-23 10:23:06 +02:00
parent 3ddf33c8c3
commit 3d311b9882

View file

@ -104,7 +104,7 @@ func run(c *cli.Context) {
} }
if text == "Y" || text == "y" || text == "" { if text == "Y" || text == "y" || text == "" {
err = client.AgreeToTos() err = client.AgreeToTOS()
if err != nil { if err != nil {
logger().Fatalf("Could not agree to tos -> %v", err) logger().Fatalf("Could not agree to tos -> %v", err)
} }