Style changes

This commit is contained in:
Michael Boelen 2019-09-19 15:17:23 +02:00
parent c0f9c0ab84
commit 82d9940f13
No known key found for this signature in database
GPG Key ID: 26141F77A09D7F04
1 changed files with 24 additions and 26 deletions

View File

@ -55,20 +55,17 @@
# Functions:
# Clean temporary files up
CleanUp()
{
CleanUp() {
if [ ! "${TMPDIR}" = "" -a -d "${TMPDIR}" ]; then
rm -rf ${TMPDIR}
fi
}
Exit()
{
Exit() {
CleanUp
exit 0
}
ExitFatal()
{
ExitFatal() {
CleanUp
exit 1
}
@ -284,6 +281,7 @@
rm -rf ${MYBUILDDIR}/git/Lynis
#git checkout tags/${LYNIS_VERSION}
fi
git clone https://github.com/CISOfy/Lynis.git ${MYBUILDDIR}/git/Lynis
if [ -d ${MYBUILDDIR}/git/Lynis/debian/ ]; then