From b6fc4928819d1569e63ae7df712d17583ecd22fe Mon Sep 17 00:00:00 2001 From: Asif Bacchus Date: Fri, 13 Mar 2020 23:48:25 -0600 Subject: [PATCH] move error codes to end of file --- ab-openldap/ab-openldap.sh | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/ab-openldap/ab-openldap.sh b/ab-openldap/ab-openldap.sh index 3171e26..8792409 100755 --- a/ab-openldap/ab-openldap.sh +++ b/ab-openldap/ab-openldap.sh @@ -6,13 +6,6 @@ # -# error code reference: -# 0: exited normally, no errors -# 1: unknown startup option passed to script -# 2: current user is unauthorized to operate docker -# 3: 'params' file not found in same directory as script -# 5: specified TLS-related files (cert, key or chain) not found - # text formatting presets cyan=$(tput setaf 6) @@ -472,3 +465,14 @@ fi ### exit gracefully exit 0 + + +# error code reference: +# 0: exited normally, no errors +# 1: unknown startup option passed to script +# 2: current user is unauthorized to operate docker +# 3: 'params' file not found in same directory as script +# 5: specified TLS-related files (cert, key or chain) not found + + +#EOF \ No newline at end of file