summary refs log tree commit diff stats
path: root/cmd
diff options
context:
space:
mode:
authorAndinus <andinus@nand.sh>2020-03-26 15:31:26 +0530
committerAndinus <andinus@nand.sh>2020-03-26 15:31:26 +0530
commit79bad7258fb6f6b1ffd4b4bb378fefe513de7062 (patch)
tree2219a089ad774b71ca7da32387537b169d60e806 /cmd
parentafd4130b382c333e746adff49ce5d2c554d3045d (diff)
downloadcetus-79bad7258fb6f6b1ffd4b4bb378fefe513de7062.tar.gz
Fix logical error in fmt.Errorf statement
Diffstat (limited to 'cmd')
-rw-r--r--cmd/cetus/apod.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/cetus/apod.go b/cmd/cetus/apod.go
index 4970f79..2c0f2a0 100644
--- a/cmd/cetus/apod.go
+++ b/cmd/cetus/apod.go
@@ -161,7 +161,7 @@ func dlAndCacheAPODBody() {
 	// and the program shouldn't exit but should continue after
 	// printing the log so that the user can investigate it later.
 	if err != nil {
-		err = fmt.Errorf("%s\n%s",
+		err = fmt.Errorf("%s%s\n%s",
 			"apod.go: failed to write body to file: ", file,
 			err.Error())
 		log.Println(err)