aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hotline/files.go2
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
}