mirror of
https://github.com/opencontainers/runc.git
synced 2026-07-11 06:03:57 +08:00
Merge pull request #4994 from kolyshkin/gofumpt-extra
Enable gofumpt extra rules
This commit is contained in:
@@ -15,7 +15,7 @@ func Dup3(oldfd, newfd, flags int) error {
|
||||
}
|
||||
|
||||
// Exec wraps [unix.Exec].
|
||||
func Exec(cmd string, args []string, env []string) error {
|
||||
func Exec(cmd string, args, env []string) error {
|
||||
err := retryOnEINTR(func() error {
|
||||
return unix.Exec(cmd, args, env)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user