agent: fix wrong binary path

This commit is contained in:
Gyu-Ho Lee 2016-03-23 04:42:09 -07:00
parent 1d9fce4d94
commit c123d5bd2a
1 changed files with 1 additions and 1 deletions

View File

@ -441,7 +441,7 @@ func (t *transporterServer) Transfer(ctx context.Context, r *Request) (*Response
}
flagString := strings.Join(flags, " ")
cmd := exec.Command(etcdBinaryPath, flags...)
cmd := exec.Command(consulBinaryPath, flags...)
cmd.Stdout = f
cmd.Stderr = f
log.Printf("Starting: %s %s", cmd.Path, flagString)