diff options
-rwxr-xr-x | lynis | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -130,7 +130,7 @@ Make sure to execute ${PROGRAM_NAME} from untarred directory or check your insta else MYID=$(id -u 2> /dev/null) fi - if [ -z "${MYID}" ]; then Display "Could not find user ID with id command. Want to help improving Lynis? Raise a ticket at ${PROGRAM_SOURCE}"; ExitFatal; fi + if [ -z "${MYID}" ]; then Display "Could not find user ID with id command. Want to help improve Lynis? Raise a ticket at ${PROGRAM_SOURCE}"; ExitFatal; fi # ################################################################################# # @@ -333,9 +333,9 @@ ${NORMAL} ${WARNING}Warning${NORMAL}: ${WHITE}PID file exists, probably another Lynis process is running.${NORMAL} ------------------------------------------------------------------------------ -If you are unsure another Lynis process is running currently, you are advised -to stop current process and check the process list first. If you cancelled -(by using CTRL+C) a previous instance, you can ignore this message. +If you are unsure if another Lynis process is running currently, you are advised +to stop the current process and check the process list first. If you cancelled +a previous instance (by using CTRL+C), you can ignore this message. You are advised to check for temporary files after program completion. ------------------------------------------------------------------------------ @@ -348,7 +348,7 @@ ${YELLOW}Note: ${WHITE}Cancelling the program can leave temporary files behind${ echo "Quitting, to prevent multiple cron jobs running at the same time" exit 1 # Manually exit, no cleanups to prevent deleting an active PID file else - wait_for_keypress + WaitForKeyPress fi # Deleting any stale PID files that might exist. Note: Display function does not work yet at this point @@ -555,7 +555,7 @@ ${NORMAL} Display --indent 2 --text "- Detecting language and localization" --result "${LANGUAGE}" --color WHITE if [ ! -f ${DBDIR}/languages/${LANGUAGE} ]; then Display --indent 4 --text "${YELLOW}Notice:${NORMAL} no language file found for '${LANGUAGE}' (tried: ${DBDIR}/languages/${LANGUAGE})" - if IsDeveloperVersion; then Display --indent 4 --text "See https://github.com/CISOfy/lynis-sdk/documentation/10-translations.md for more details to help translating Lynis"; fi + if IsDeveloperVersion; then Display --indent 4 --text "See https://github.com/CISOfy/lynis-sdk/documentation/10-translations.md for more details to help translate Lynis"; fi sleep 5 else LogText "Importing language file (${DBDIR}/languages/${LANGUAGE})" |