added error code summary for reference

This commit is contained in:
Asif Bacchus 2019-05-21 03:29:22 -06:00
parent 00bf9379db
commit 73fff32758

View File

@ -128,4 +128,14 @@ echo
### exit gracefully
exit 0
exit 0
### error code summary
# 1: fail2ban executable file could not be found -- fail2ban likely not
# installed
# 2: script not run as ROOT (needed to avoid any permissions issues)
# 3: invalid fail2ban configuration directory provided by user
# 99: internal testing error code, should *not* appear in releases
# 100: error copying files to fail2ban configuration directory and/or making
# simultaneous backup copies of any exisitng files.