diff --git a/f2b-config.sh b/f2b-config.sh index 8f1eb22..5cb2a92 100755 --- a/f2b-config.sh +++ b/f2b-config.sh @@ -128,4 +128,14 @@ echo ### exit gracefully -exit 0 \ No newline at end of file +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.