diff options
author | Phil Sutter <phil@nwl.cc> | 2023-08-01 21:24:15 +0200 |
---|---|---|
committer | Phil Sutter <phil@nwl.cc> | 2023-08-05 01:28:50 +0200 |
commit | 13c9efa80e50bdf9187b5f5a16b34eda49425fd3 (patch) | |
tree | e3adc64a3fcd5295f6ae2964b6f5baf8b60e68c7 | |
parent | 99d861c64cda5289e141b2084836663450f1eff0 (diff) |
man: iptables.8: Extend exit code description
Codes 3 and 4 were missing.
Reported-by: Steven Barre <steven.barre@dxcas.com>
Closes: https://bugzilla.netfilter.org/show_bug.cgi?id=1353
Signed-off-by: Phil Sutter <phil@nwl.cc>
-rw-r--r-- | iptables/iptables.8.in | 9 |
1 files changed, 6 insertions, 3 deletions
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? ;-) |