From 499cdfd76a2365339b9417cc8e3bbe3fb1689e4b Mon Sep 17 00:00:00 2001 From: Kevin Atkinson Date: Wed, 11 Jan 2017 22:22:34 -0500 Subject: [PATCH] Fix weird trailing message in default os check. License: MIT Signed-off-by: Kevin Atkinson --- cmd/ipfs/main.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/cmd/ipfs/main.go b/cmd/ipfs/main.go index e9cdadaf8..9159ce7c5 100644 --- a/cmd/ipfs/main.go +++ b/cmd/ipfs/main.go @@ -593,10 +593,9 @@ func profileIfEnabled() (func(), error) { var apiFileErrorFmt string = `Failed to parse '%[1]s/api' file. error: %[2]s If you're sure go-ipfs isn't running, you can just delete it. -Otherwise check: ` -var checkIPFSUnixFmt = "\tps aux | grep ipfs" -var checkIPFSWinFmt = "\ttasklist | findstr ipfs" +var checkIPFSUnixFmt = "Otherwise check:\n\tps aux | grep ipfs" +var checkIPFSWinFmt = "Otherwise check:\n\ttasklist | findstr ipfs" // getApiClient checks the repo, and the given options, checking for // a running API service. if there is one, it returns a client.