aboutsummaryrefslogtreecommitdiff
path: root/b64file/file.go
diff options
context:
space:
mode:
Diffstat (limited to 'b64file/file.go')
-rw-r--r--b64file/file.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/b64file/file.go b/b64file/file.go
index 86c6636..5cefea7 100644
--- a/b64file/file.go
+++ b/b64file/file.go
@@ -113,6 +113,7 @@ func (w *Writer) Write(p []byte) (n int, err error) {
}
fmt.Fprintf(w.w, "%s%s\n", untrusted, w.Comment)
fmt.Fprintf(w.w, "%s\n", base64.StdEncoding.EncodeToString(w.Bytes))
+ w.wroteHeader = true
}
return w.w.Write(p)
}