From: Tollef Fog Heen Date: Sun, 6 Oct 2013 19:35:24 +0000 (+0200) Subject: Fix up cd-ing in cron script X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=b218b5e9c19f83b1a9b1fe4b9c71e1f47e6cb139;p=mirror%2Fdsa-puppet.git Fix up cd-ing in cron script --- diff --git a/modules/exim/files/dsa-email-virtualdomains.cron b/modules/exim/files/dsa-email-virtualdomains.cron index 1581ffe81..44c62c58a 100644 --- a/modules/exim/files/dsa-email-virtualdomains.cron +++ b/modules/exim/files/dsa-email-virtualdomains.cron @@ -4,4 +4,4 @@ ## SHELL=/bin/bash -@hourly root if [ ! -d /etc/exim4/email-virtualdomains ]; then cd /etc/exim4 && git clone mail-git:email-virtualdomains ; fi ; cd email-virtualdomains && git pull --quiet --ff-only +@hourly root if [ ! -d /etc/exim4/email-virtualdomains ]; then cd /etc/exim4 && git clone mail-git:email-virtualdomains ; fi && cd /etc/exim4/email-virtualdomains && git pull --quiet --ff-only