From: Phil Sutter Date: Tue, 1 Aug 2023 19:24:15 +0000 (+0200) Subject: man: iptables.8: Extend exit code description X-Git-Tag: v1.8.10~35 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=13c9efa80e50bdf9187b5f5a16b34eda49425fd3;p=thirdparty%2Fiptables.git 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 --- 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? ;-)