aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/geth
diff options
context:
space:
mode:
authorBas van Kervel <bas@ethdev.com>2015-06-12 15:32:37 +0800
committerBas van Kervel <bas@ethdev.com>2015-06-12 15:32:37 +0800
commit359e6414e50df415caa1d4411224c6d48b6cb798 (patch)
tree2bbe96226f778e0b5d06dd32408bf6646fcf829a /cmd/geth
parent22080e1fdd8eafd6201bb5a06ac19859bcc6b432 (diff)
downloaddexon-359e6414e50df415caa1d4411224c6d48b6cb798.tar
dexon-359e6414e50df415caa1d4411224c6d48b6cb798.tar.gz
dexon-359e6414e50df415caa1d4411224c6d48b6cb798.tar.bz2
dexon-359e6414e50df415caa1d4411224c6d48b6cb798.tar.lz
dexon-359e6414e50df415caa1d4411224c6d48b6cb798.tar.xz
dexon-359e6414e50df415caa1d4411224c6d48b6cb798.tar.zst
dexon-359e6414e50df415caa1d4411224c6d48b6cb798.zip
fixed windows ipc path issue
Diffstat (limited to 'cmd/geth')
-rw-r--r--cmd/geth/main.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/geth/main.go b/cmd/geth/main.go
index 11ea23165..0f2438cfd 100644
--- a/cmd/geth/main.go
+++ b/cmd/geth/main.go
@@ -308,7 +308,7 @@ func console(ctx *cli.Context) {
ethereum,
ctx.String(utils.JSpathFlag.Name),
ctx.GlobalString(utils.RPCCORSDomainFlag.Name),
- filepath.Join(ctx.GlobalString(utils.DataDirFlag.Name), "geth.ipc"),
+ utils.IpcSocketPath(ctx),
true,
nil,
)
@@ -330,7 +330,7 @@ func execJSFiles(ctx *cli.Context) {
ethereum,
ctx.String(utils.JSpathFlag.Name),
ctx.GlobalString(utils.RPCCORSDomainFlag.Name),
- ctx.GlobalString(utils.IPCPathFlag.Name),
+ utils.IpcSocketPath(ctx),
false,
nil,
)