Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions iptables/iptables.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ var isNotExistPatterns = []string{
"No chain/target/match by that name.\n",
"No such file or directory",
"does not exist",
"Couldn't find target",
}

// IsNotExist returns true if the error is due to the chain or rule not existing
Expand Down