Browse Source

etcdctl: Add a newline so that errors don't bleed into each other.

Rob Holland 9 years ago
parent
commit
a00be40db2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      etcdctl/ctlv2/command/exec_watch_command.go

+ 1 - 1
etcdctl/ctlv2/command/exec_watch_command.go

@@ -97,7 +97,7 @@ func execWatchCommandFunc(c *cli.Context, ki client.KeysAPI) {
 			handleError(ExitServerError, err)
 		}
 		if resp.Node.Dir {
-			fmt.Fprintf(os.Stderr, "Ignored dir %s change", resp.Node.Key)
+			fmt.Fprintf(os.Stderr, "Ignored dir %s change\n", resp.Node.Key)
 			continue
 		}