summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Dauvergne <bdauvergne@entrouvert.com>2019-08-21 16:28:33 (GMT)
committerBenjamin Dauvergne <bdauvergne@entrouvert.com>2019-08-21 16:28:33 (GMT)
commite7668b482d1a23f8be39b4fccb74aa9aec95b81c (patch)
tree0d6ac47b3a391004f578425bad8ea386c6d07b2c
parent7f0b1c1a264b1d35b2b2874be532d610fb40f82c (diff)
downloadpublik-client-scripts-e7668b482d1a23f8be39b4fccb74aa9aec95b81c.zip
publik-client-scripts-e7668b482d1a23f8be39b4fccb74aa9aec95b81c.tar.gz
publik-client-scripts-e7668b482d1a23f8be39b4fccb74aa9aec95b81c.tar.bz2
cd06: make grep quiet (#30175)v1.10
-rw-r--r--debian/publik-cd06-scripts.cron.hourly2
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/publik-cd06-scripts.cron.hourly b/debian/publik-cd06-scripts.cron.hourly
index 4268a0b..5fddb80 100644
--- a/debian/publik-cd06-scripts.cron.hourly
+++ b/debian/publik-cd06-scripts.cron.hourly
@@ -1,7 +1,7 @@
#! /bin/bash
test -d /var/lib/wcs || exit 0
-grep 'DISABLE_CRON_JOBS = True' /etc/wcs/settings.d/* && exit 0
+grep -q 'DISABLE_CRON_JOBS = True' /etc/wcs/settings.d/* && exit 0
instance=`hostname -f`
config=/etc/publik/clients/cd06/${instance}.conf