From 055b8ede41d145cb51e3de62f756221ccf3e81fe Mon Sep 17 00:00:00 2001 From: Francois Marier Date: Fri, 16 Nov 2007 12:19:39 +1300 Subject: [PATCH] Check if the initscript exists before running it --- debian/cron.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.30.2