diff options
| author | Jeff Carr <[email protected]> | 2024-12-11 13:50:38 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-12-11 13:50:38 -0600 |
| commit | 96a063a15a8f3f31bc98fe94ce1320e39232f26d (patch) | |
| tree | de06b46b2a38bca923213d0ef78139cce6b54bfd /addMutex.go | |
| parent | 5846d5e4affbb2c2a220453a3de3c335b43cd2d6 (diff) | |
Diffstat (limited to 'addMutex.go')
| -rw-r--r-- | addMutex.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addMutex.go b/addMutex.go index 8a4b0f3..082d1bc 100644 --- a/addMutex.go +++ b/addMutex.go @@ -22,7 +22,7 @@ func addMutex(names map[string]string) error { return err } - w, _ := os.OpenFile(names["protobase"]+".pb.go", os.O_WRONLY|os.O_CREATE, 0600) + w, _ := os.OpenFile(names["protobase"]+".pb.go", os.O_WRONLY|os.O_CREATE|os.O_TRUNC, 0644) var found bool |
