summaryrefslogtreecommitdiffstats
path: root/modules/graceful/restart_unix.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/graceful/restart_unix.go')
-rw-r--r--modules/graceful/restart_unix.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/graceful/restart_unix.go b/modules/graceful/restart_unix.go
index 9a94e5fa67..392ed60cb3 100644
--- a/modules/graceful/restart_unix.go
+++ b/modules/graceful/restart_unix.go
@@ -1,10 +1,11 @@
-// +build !windows
-
// Copyright 2019 The Gitea Authors. All rights reserved.
// Use of this source code is governed by a MIT-style
// license that can be found in the LICENSE file.
// This code is heavily inspired by the archived gofacebook/gracenet/net.go handler
+//go:build !windows
+// +build !windows
+
package graceful
import (