Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
dms3
go-dms3
Commits
5b981137
Commit
5b981137
authored
Sep 25, 2015
by
Juan Benet
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1749 from mjanczyk/master
Fix #1661 IPFS crashes on windows after first run
parents
7ba85c6e
20908b30
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
cmd/ipfs/main.go
cmd/ipfs/main.go
+2
-1
No files found.
cmd/ipfs/main.go
View file @
5b981137
...
...
@@ -668,5 +668,6 @@ func apiClientForAddr(addr ma.Multiaddr) (cmdsHttp.Client, error) {
}
func
isConnRefused
(
err
error
)
bool
{
return
strings
.
Contains
(
err
.
Error
(),
"connection refused"
)
return
strings
.
Contains
(
err
.
Error
(),
"connection refused"
)
||
strings
.
Contains
(
err
.
Error
(),
"target machine actively refused it"
)
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment