From 16564bfeb77c7a9b6b96c7f659b90864e7ba0dd8 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Wed, 27 Aug 2014 16:09:17 +0000 Subject: [PATCH] Try and make this not send emails most of the time. --- roles/distgit/files/updatecrl.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/roles/distgit/files/updatecrl.sh b/roles/distgit/files/updatecrl.sh index c7649b3b9d..cf9f934a5a 100644 --- a/roles/distgit/files/updatecrl.sh +++ b/roles/distgit/files/updatecrl.sh @@ -4,7 +4,7 @@ URL=https://admin.fedoraproject.org/ca/crl.pem OLD=/etc/pki/tls/crl.pem NEW=/tmp/crl.pem -wget $URL -O $NEW +wget -q $URL -O $NEW OLDUPDATE=`openssl crl -in $OLD -noout -lastupdate` NEWUPDATE=`openssl crl -in $NEW -noout -lastupdate` @@ -12,5 +12,4 @@ if [ "$OLDUPDATE" != "$NEWUPDATE" ]; then mv $NEW $OLD restorecon $OLD /etc/init.d/httpd graceful - echo "updated to $NEWUPDATE" fi