diff options
| author | Jeff Halter <868228+jhalter@users.noreply.github.com> | 2022-06-06 16:48:52 -0700 |
|---|---|---|
| committer | Jeff Halter <868228+jhalter@users.noreply.github.com> | 2022-06-06 16:48:52 -0700 |
| commit | c26c20e3539233a6cde9e64aa9d9a89b2017a772 (patch) | |
| tree | 862c14b2ebad68f82de7d1272fce77aab9285a48 /hotline | |
| parent | f4a69647659df356f7f1d1ab1d8b4eedcc34dfba (diff) | |
Revert change to effectiveFile func
Diffstat (limited to 'hotline')
| -rw-r--r-- | hotline/files.go | 2 |
1 files changed, 1 insertions, 1 deletions
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 } |