From 13c9efa80e50bdf9187b5f5a16b34eda49425fd3 Mon Sep 17 00:00:00 2001 From: Phil Sutter Date: Tue, 1 Aug 2023 21:24:15 +0200 Subject: man: iptables.8: Extend exit code description Codes 3 and 4 were missing. Reported-by: Steven Barre Closes: https://bugzilla.netfilter.org/show_bug.cgi?id=1353 Signed-off-by: Phil Sutter --- iptables/iptables.8.in | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'iptables/iptables.8.in') diff --git a/iptables/iptables.8.in b/iptables/iptables.8.in index f81c632f..2dd14066 100644 --- a/iptables/iptables.8.in +++ b/iptables/iptables.8.in @@ -410,9 +410,12 @@ the default setting. iptables can use extended packet matching and target modules. A list of these is available in the \fBiptables\-extensions\fP(8) manpage. .SH DIAGNOSTICS -Various error messages are printed to standard error. The exit code -is 0 for correct functioning. Errors which appear to be caused by -invalid or abused command line parameters cause an exit code of 2, and +Various error messages are printed to standard error. The exit code is 0 for +correct functioning. Errors which appear to be caused by invalid or abused +command line parameters cause an exit code of 2. Errors which indicate an +incompatibility between kernel and user space cause an exit code of 3. Errors +which indicate a resource problem, such as a busy lock, failing memory +allocation or error messages from kernel cause an exit code of 4. Finally, other errors cause an exit code of 1. .SH BUGS Bugs? What's this? ;-) -- cgit v1.2.3