Correction typo

This commit is contained in:
David 2022-12-25 23:28:11 +01:00
parent 1681f916f5
commit c7b2c38db4

View File

@ -105,13 +105,13 @@ generateColibriReport()
echo
parse="/srv/visio.chapril.org/tools/statistiques/parseStats.py"
if [ -x ${parse} ];then
`${parse} ${month} ${year}` > /tmp/result
${parse} ${month} ${year} > /tmp/result 2>&1
fi
if [ "x`cat /tmp/result | grep 'indisponible'`" != "x" ];then
sleep 60
${parse} ${month} ${year} > /tmp/result 2>&1
cat /tmp/result
else
sleep 60
`${parse}` > /tmp/result
cat /tmp/result
fi