From 9d38b49e42ea69502620300d22ae69c774f0a85e Mon Sep 17 00:00:00 2001 From: Gilbert Chen Date: Tue, 10 Oct 2017 22:35:09 -0400 Subject: [PATCH] Remove the extra new line for the cat command --- src/duplicacy_snapshotmanager.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/duplicacy_snapshotmanager.go b/src/duplicacy_snapshotmanager.go index 4c727d0..f1fc279 100644 --- a/src/duplicacy_snapshotmanager.go +++ b/src/duplicacy_snapshotmanager.go @@ -1235,7 +1235,7 @@ func (manager *SnapshotManager) PrintFile(snapshotID string, revision int, path return false } - fmt.Printf("%s\n", string(content)) + fmt.Printf("%s", string(content)) return true }