mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-08 18:33:00 +02:00
1 parent
5326f4c9c5
commit
4a57c9ea17
8 files changed
+14
-15
No files matched your search
@@ -55,7 +55,9 @@ func RestartProcess() (int, error) {
|
||||
unixListener.SetUnlinkOnClose(false)
|
||||
}
|
||||
// Remember to close these at the end.
|
||||
defer files[i].Close()
|
||||
defer func(i int) {
|
||||
_ = files[i].Close()
|
||||
}(i)
|
||||
}
|
||||
|
||||
// Use the original binary location. This works with symlinks such that if
|
||||
|
||||
Reference in new issue
Block a user