Add new exit value to indicate concurrency issues (Jesper Dangaard Brouer <hawk@comx.dk>)
diff --git a/iptables-standalone.c b/iptables-standalone.c
index 257b677..e5c7841 100644
--- a/iptables-standalone.c
+++ b/iptables-standalone.c
@@ -64,9 +64,13 @@
 	if (ret)
 		ret = iptc_commit(&handle);
 
-	if (!ret)
+	if (!ret) {
 		fprintf(stderr, "iptables: %s\n",
 			iptc_strerror(errno));
+		if (errno == EAGAIN) {
+			exit(RESOURCE_PROBLEM);
+		}
+	}
 
 	exit(!ret);
 }