From c7b2c38db4ce3e12fd1d776dbe17cbf95b953a8f Mon Sep 17 00:00:00 2001 From: David Date: Sun, 25 Dec 2022 23:28:11 +0100 Subject: [PATCH] Correction typo --- rapport_activite/rapport_activite.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rapport_activite/rapport_activite.sh b/rapport_activite/rapport_activite.sh index 2b0f877..495e862 100755 --- a/rapport_activite/rapport_activite.sh +++ b/rapport_activite/rapport_activite.sh @@ -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