From c26c20e3539233a6cde9e64aa9d9a89b2017a772 Mon Sep 17 00:00:00 2001 From: Jeff Halter <868228+jhalter@users.noreply.github.com> Date: Mon, 6 Jun 2022 16:48:52 -0700 Subject: Revert change to effectiveFile func --- hotline/files.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hotline/files.go b/hotline/files.go index 42e25db..04334e9 100644 --- a/hotline/files.go +++ b/hotline/files.go @@ -180,7 +180,7 @@ func effectiveFile(filePath string) (*os.File, error) { } if errors.Is(err, fs.ErrNotExist) { - file, err = os.OpenFile(filePath+incompleteFileSuffix, os.O_CREATE|os.O_APPEND|os.O_WRONLY, 0644) + file, err = os.OpenFile(filePath+incompleteFileSuffix, os.O_APPEND|os.O_WRONLY, 0644) if err != nil { return nil, err } -- cgit