Browse Source

Merge pull request #3923 from gyuho/duplicate_exit

etcdctl: remove duplicate exit line
Jonathan Boulle 10 years ago
parent
commit
27a243c2aa
1 changed files with 0 additions and 1 deletions
  1. 0 1
      etcdctl/command/util.go

+ 0 - 1
etcdctl/command/util.go

@@ -210,7 +210,6 @@ func mustNewClient(c *cli.Context) client.Client {
 				fmt.Fprintf(os.Stderr, "Try '--no-sync' if you want to access non-published client endpoints(%s).\n", strings.Join(hc.Endpoints(), ","))
 			}
 			handleError(ExitServerError, err)
-			os.Exit(1)
 		}
 		if debug {
 			fmt.Fprintf(os.Stderr, "got endpoints(%s) after sync\n", strings.Join(hc.Endpoints(), ","))