diff options
author | Michael Boelen <michael.boelen@cisofy.com> | 2016-07-31 12:48:04 +0300 |
---|---|---|
committer | Michael Boelen <michael.boelen@cisofy.com> | 2016-07-31 12:48:04 +0300 |
commit | 9b00ea7d403bfe975d4e4e022a6f826b8d9f6372 (patch) | |
tree | e3b95aba8938844c06235ac3d165dcb8cb45cc6e | |
parent | 62c7b463114399096bcbcf0c3bdca4beb70a46bf (diff) |
Perform early tests before running main program
-rwxr-xr-x | lynis | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -545,6 +545,11 @@ ${NORMAL} fi fi LogTextBreak + + # Pre-execution tests + if [ ${UPLOAD_DATA} -eq 1 -a -z "${LICENSE_KEY}" ]; then DisplayError "${ERROR_NO_LICENSE}" 64; fi + if [ ${UPLOAD_DATA} -eq 1 -a -z "${UPLOAD_SERVER}" ]; then DisplayError "${ERROR_NO_UPLOAD_SERVER}" 64; fi + # ################################################################################# # |