mirror of https://github.com/CISOfy/lynis.git
Perform early tests before running main program
This commit is contained in:
parent
62c7b46311
commit
9b00ea7d40
5
lynis
5
lynis
|
@ -545,6 +545,11 @@ ${NORMAL}
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
LogTextBreak
|
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
|
||||||
|
|
||||||
#
|
#
|
||||||
#################################################################################
|
#################################################################################
|
||||||
#
|
#
|
||||||
|
|
Loading…
Reference in New Issue