From: Francois Marier Date: Thu, 15 Nov 2007 23:19:39 +0000 (+1300) Subject: Check if the initscript exists before running it X-Git-Tag: 0.4~26 X-Git-Url: http://git.etc.gen.nz/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=055b8ede41d145cb51e3de62f756221ccf3e81fe;p=mythtv-status.git Check if the initscript exists before running it --- diff --git a/debian/cron.d b/debian/cron.d index 1eeaade..2efa2eb 100644 --- a/debian/cron.d +++ b/debian/cron.d @@ -1,4 +1,4 @@ # # Regular cron jobs for the mythtv-status package # -*/10 * * * * root /etc/init.d/mythtv-status reload > /dev/null +*/10 * * * * root [ -x /etc/init.d/mythtv-status ] && /etc/init.d/mythtv-status reload > /dev/null