util: Generalize the file mode of 0666 with util.FileMode

This commit is contained in:
Jöran Karl
2024-05-30 21:14:04 +02:00
parent 69064cf808
commit 18a81f043c
6 changed files with 12 additions and 8 deletions

View File

@@ -37,7 +37,7 @@ func main() {
</plist>
`
err := os.WriteFile("/tmp/micro-info.plist", []byte(rawInfoPlist), 0644)
err := os.WriteFile("/tmp/micro-info.plist", []byte(rawInfoPlist), 0666)
if err != nil {
panic(err)
}