check-tmp.sh doesn't detect huge numbers of dirs or files #30
Open
Description
On a setup, I got many files created in /tmp
with following layout:
# tree adcli-krb5-YfnplZ/
adcli-krb5-YfnplZ/
└── krb5.d
└── adcli-krb5-conf-8YbXQa
check-tmp.sh
didn't detect that issue due to maxdepth
and type
options.
I think we could remove -maxdepth 1
option in:
because we will always search for many files in /tmp
. But I'm sure this option has not been put here by chance.
What's your opinion on this ?