mirror of https://github.com/CISOfy/lynis.git
Style changes
This commit is contained in:
parent
c0f9c0ab84
commit
82d9940f13
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue