Skip to content

Commit

Permalink
Fix differential code between Windows and Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
machooo-x committed May 30, 2023
1 parent b492925 commit 4de3e76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iptables/iptables.go
Original file line number Diff line number Diff line change
Expand Up @@ -537,7 +537,7 @@ func (ipt *IPTables) runWithOutput(args []string, stdout io.Writer) error {
}
ul, err := fmu.tryLock()
if err != nil {
syscall.Close(syscall.Handle(fmu.fd))
syscall.Close(fmu.fd)
return err
}
defer func() {
Expand Down

0 comments on commit 4de3e76

Please sign in to comment.