diff options
author | mboelen <michael@cisofy.com> | 2015-09-10 09:36:26 +0300 |
---|---|---|
committer | mboelen <michael@cisofy.com> | 2015-09-10 09:36:26 +0300 |
commit | e7adeb8a6bfef3f276ab90e0c93ddbe38b82d687 (patch) | |
tree | f53c69b5d24a68a76dbfbb19e4ee19ad90c6102e | |
parent | b6c0736d6e4676412a78a5de7371337eb72eb4a0 (diff) |
Changed exit codes for specific events
-rwxr-xr-x | lynis | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -276,7 +276,7 @@ if [ "${PROFILE}" = "" ]; then echo "${RED}Fatal error: ${WHITE}No profile defined and could not find default profile${NORMAL}" echo "Search paths used --> ${tPROFILE_TARGETS}" - ExitFatal + ExitCustom 66 fi # Initialize and check profile file, auditor name, log file and report file if [ ! -r ${PROFILE} ]; then echo "Fatal error: Can't open profile file (${PROFILE})"; exit 1; fi @@ -389,7 +389,7 @@ # Cleanup PID file if we drop out earlier RemovePIDFile # Exit with exit code 1 - exit 1 + exit 64 fi # ################################################################################# |