summaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 21bd74aa..4abbdc06 100644
--- a/src/main.c
+++ b/src/main.c
@@ -220,7 +220,6 @@ static int nft_netlink(struct nft_ctx *nft,
netlink_io_error(&ctx, &cmd->location,
"Could not process rule: %s",
strerror(err->err));
- ret = -1;
errno = err->err;
if (err->seqnum == cmd->seqnum) {
mnl_err_list_free(err);