diff options
author | Kobi Gurkan <kobigurk@gmail.com> | 2015-09-03 15:28:30 +0800 |
---|---|---|
committer | Kobi Gurkan <kobigurk@gmail.com> | 2015-09-03 15:28:30 +0800 |
commit | 1a86adc5a27d6f9af0601ee294f957346f790fdd (patch) | |
tree | f8620c93d1fce9771090a453ba29d4e12ddfcb9b /cmd | |
parent | e98854588b2e31b8743ecca88d2db8f6ab0ff2ae (diff) | |
download | go-tangerine-1a86adc5a27d6f9af0601ee294f957346f790fdd.tar go-tangerine-1a86adc5a27d6f9af0601ee294f957346f790fdd.tar.gz go-tangerine-1a86adc5a27d6f9af0601ee294f957346f790fdd.tar.bz2 go-tangerine-1a86adc5a27d6f9af0601ee294f957346f790fdd.tar.lz go-tangerine-1a86adc5a27d6f9af0601ee294f957346f790fdd.tar.xz go-tangerine-1a86adc5a27d6f9af0601ee294f957346f790fdd.tar.zst go-tangerine-1a86adc5a27d6f9af0601ee294f957346f790fdd.zip |
cmd/geth: honor datadir when attaching
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/geth/main.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/geth/main.go b/cmd/geth/main.go index dc7e19c61..aacb588fe 100644 --- a/cmd/geth/main.go +++ b/cmd/geth/main.go @@ -402,7 +402,7 @@ func attach(ctx *cli.Context) { client, err = comms.ClientFromEndpoint(ctx.Args().First(), codec.JSON) } else { cfg := comms.IpcConfig{ - Endpoint: ctx.GlobalString(utils.IPCPathFlag.Name), + Endpoint: utils.IpcSocketPath(ctx), } client, err = comms.NewIpcClient(cfg, codec.JSON) } |