aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/utils/flags.go
diff options
context:
space:
mode:
authorJeffrey Wilcke <jeffrey@ethereum.org>2015-08-07 03:39:29 +0800
committerJeffrey Wilcke <jeffrey@ethereum.org>2015-08-07 03:39:29 +0800
commit698e98d9814605bfea98ba3ad2fe7fda073cb2b1 (patch)
tree729aa720f3b18b9eb901111d1d58c355bc9b744c /cmd/utils/flags.go
parenta3b8169938953a10ab57282853768c72bebaf0b4 (diff)
parent803096ca0f262be7d03081482777c3e293f5f7ac (diff)
downloadgo-tangerine-698e98d9814605bfea98ba3ad2fe7fda073cb2b1.tar
go-tangerine-698e98d9814605bfea98ba3ad2fe7fda073cb2b1.tar.gz
go-tangerine-698e98d9814605bfea98ba3ad2fe7fda073cb2b1.tar.bz2
go-tangerine-698e98d9814605bfea98ba3ad2fe7fda073cb2b1.tar.lz
go-tangerine-698e98d9814605bfea98ba3ad2fe7fda073cb2b1.tar.xz
go-tangerine-698e98d9814605bfea98ba3ad2fe7fda073cb2b1.tar.zst
go-tangerine-698e98d9814605bfea98ba3ad2fe7fda073cb2b1.zip
Merge pull request #1600 from ethereum/fix-tests-windows
Fix tests on windows
Diffstat (limited to 'cmd/utils/flags.go')
-rw-r--r--cmd/utils/flags.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/utils/flags.go b/cmd/utils/flags.go
index 815d48124..cf969805d 100644
--- a/cmd/utils/flags.go
+++ b/cmd/utils/flags.go
@@ -478,7 +478,7 @@ func MakeAccountManager(ctx *cli.Context) *accounts.Manager {
}
func IpcSocketPath(ctx *cli.Context) (ipcpath string) {
- if common.IsWindows() {
+ if runtime.GOOS == "windows" {
ipcpath = common.DefaultIpcPath()
if ctx.GlobalIsSet(IPCPathFlag.Name) {
ipcpath = ctx.GlobalString(IPCPathFlag.Name)