Skip to content

Commit a31b256

Browse files
Merge pull request #3591 from ipfs/kevina/weird-trailing-message
Fix weird trailing message in default os check.
2 parents f8ba7c0 + 499cdfd commit a31b256

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

cmd/ipfs/main.go

+2-3
Original file line numberDiff line numberDiff line change
@@ -593,10 +593,9 @@ func profileIfEnabled() (func(), error) {
593593
var apiFileErrorFmt string = `Failed to parse '%[1]s/api' file.
594594
error: %[2]s
595595
If you're sure go-ipfs isn't running, you can just delete it.
596-
Otherwise check:
597596
`
598-
var checkIPFSUnixFmt = "\tps aux | grep ipfs"
599-
var checkIPFSWinFmt = "\ttasklist | findstr ipfs"
597+
var checkIPFSUnixFmt = "Otherwise check:\n\tps aux | grep ipfs"
598+
var checkIPFSWinFmt = "Otherwise check:\n\ttasklist | findstr ipfs"
600599

601600
// getApiClient checks the repo, and the given options, checking for
602601
// a running API service. if there is one, it returns a client.

0 commit comments

Comments
 (0)