aboutsummaryrefslogtreecommitdiffhomepage
path: root/admin.go
diff options
context:
space:
mode:
authorJacob Gadikian <[email protected]>2023-08-08 03:40:31 +0800
committerGitHub <[email protected]>2023-08-07 19:40:31 +0000
commitb32f265ecad60404c3818cc9d42e367a8e4eb7d4 (patch)
tree16d79c3ad7ddf0cc6f7915d1e47bdd6d269bf8d5 /admin.go
parent431adc09805972196314b2b188904942cbe5dfee (diff)
downloadcaddy-b32f265ecad60404c3818cc9d42e367a8e4eb7d4.tar.gz
caddy-b32f265ecad60404c3818cc9d42e367a8e4eb7d4.zip
ci: Use gofumpt to format code (#5707)
Diffstat (limited to 'admin.go')
-rw-r--r--admin.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/admin.go b/admin.go
index 1966556a5..335b8e895 100644
--- a/admin.go
+++ b/admin.go
@@ -1346,7 +1346,7 @@ var (
// will get deleted before the process gracefully exits.
func PIDFile(filename string) error {
pid := []byte(strconv.Itoa(os.Getpid()) + "\n")
- err := os.WriteFile(filename, pid, 0600)
+ err := os.WriteFile(filename, pid, 0o600)
if err != nil {
return err
}