sysinfo: escape wildcard
Sysinfo was showing error messages if the working directory contains any file with .log extension. Signed-off-by: Diaz de Grenu, Jose <Jose.DiazdeGrenu@digi.com>
This commit is contained in:
parent
2f47dfb48c
commit
b75f48d1dc
|
|
@ -90,7 +90,7 @@ make_report(){
|
||||||
echo "- -"
|
echo "- -"
|
||||||
echo "--------------------------------------"
|
echo "--------------------------------------"
|
||||||
echo ""
|
echo ""
|
||||||
for f in $(find /var/log/ -name *.log); do
|
for f in $(find /var/log/ -name "*.log"); do
|
||||||
echo "${f} FILE";
|
echo "${f} FILE";
|
||||||
echo "---------------------------------------";
|
echo "---------------------------------------";
|
||||||
cat ${f};
|
cat ${f};
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue