summaryrefslogtreecommitdiffstats
path: root/iptables/xtables-eb-standalone.c
diff options
context:
space:
mode:
Diffstat (limited to 'iptables/xtables-eb-standalone.c')
-rw-r--r--iptables/xtables-eb-standalone.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/iptables/xtables-eb-standalone.c b/iptables/xtables-eb-standalone.c
index 6ec418cb..1c3cbf07 100644
--- a/iptables/xtables-eb-standalone.c
+++ b/iptables/xtables-eb-standalone.c
@@ -83,5 +83,8 @@ int xtables_eb_main(int argc, char *argv[])
if (ret)
ret = nft_commit(&h);
+ if (!ret)
+ fprintf(stderr, "%s\n", nft_strerror(errno));
+
exit(!ret);
}