summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristophe Siraut <csiraut@entrouvert.com>2020-10-22 12:19:25 (GMT)
committerChristophe Siraut <csiraut@entrouvert.com>2020-10-22 12:19:25 (GMT)
commit1bcb23aa759790fa54abc7ce5fcc214a53e33509 (patch)
tree7615f4c59ad205fcaf32e29b3c3697a0ee61b182
parentdab0db7a2c978583bbf8055449030797936db3b5 (diff)
downloadpublik-client-scripts-1bcb23aa759790fa54abc7ce5fcc214a53e33509.zip
publik-client-scripts-1bcb23aa759790fa54abc7ce5fcc214a53e33509.tar.gz
publik-client-scripts-1bcb23aa759790fa54abc7ce5fcc214a53e33509.tar.bz2
orleans: quiet missing folder exitHEADmaster
-rw-r--r--debian/publik-orleans-scripts.cron.hourly2
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/publik-orleans-scripts.cron.hourly b/debian/publik-orleans-scripts.cron.hourly
index 905bb9b..238d29c 100644
--- a/debian/publik-orleans-scripts.cron.hourly
+++ b/debian/publik-orleans-scripts.cron.hourly
@@ -2,6 +2,6 @@
test -x /usr/bin/chrono-manage || exit 0
-CHRONO_TENANT_NAME=$(cd /var/lib/chrono/tenants/ && ls -1d *orleans*) || exit 0
+CHRONO_TENANT_NAME=$(cd /var/lib/chrono/tenants/ && ls -1d *orleans* 2>/dev/null) || exit 0
sudo -u chrono /usr/bin/chrono-manage tenant_command runscript -d $CHRONO_TENANT_NAME /usr/lib/publik/clients/orleans/sync-creche-events.py /var/lib/chrono/tenants/${CHRONO_TENANT_NAME}/media/family/exports_dispo_creche.zip