mirror of https://github.com/CISOfy/lynis.git
Changed screen output when finding old files in /tmp
This commit is contained in:
parent
401bf26c91
commit
d4b1812962
|
@ -297,7 +297,7 @@
|
||||||
Display --indent 2 --text "- Checking for old files in /tmp" --result OK --color GREEN
|
Display --indent 2 --text "- Checking for old files in /tmp" --result OK --color GREEN
|
||||||
logtext "Result: no files found in /tmp which are older than 3 months"
|
logtext "Result: no files found in /tmp which are older than 3 months"
|
||||||
else
|
else
|
||||||
Display --indent 2 --text "- Checking for old files in /tmp" --result WARNING --color RED
|
Display --indent 2 --text "- Checking for old files in /tmp" --result FOUND --color RED
|
||||||
N=0
|
N=0
|
||||||
for I in ${FIND}; do
|
for I in ${FIND}; do
|
||||||
FILE=`echo ${I} | sed 's/!space!/ /g'`
|
FILE=`echo ${I} | sed 's/!space!/ /g'`
|
||||||
|
|
Loading…
Reference in New Issue