about summary refs log tree commit diff
path: root/sv/snooze-hourly/run
diff options
context:
space:
mode:
Diffstat (limited to 'sv/snooze-hourly/run')
-rwxr-xr-xsv/snooze-hourly/run2
1 files changed, 1 insertions, 1 deletions
diff --git a/sv/snooze-hourly/run b/sv/snooze-hourly/run
index d9a3f0b..053392e 100755
--- a/sv/snooze-hourly/run
+++ b/sv/snooze-hourly/run
@@ -1,4 +1,4 @@
 #!/bin/sh
 mkdir -p /var/cache/snooze
 exec snooze -H \* -s 1h -t /var/cache/snooze/hourly -- sh -c \
-	"run-parts --lsbsysinit /etc/cron.hourly; : > /var/cache/snooze/hourly"
+	"test -d /etc/cron.hourly && run-parts --lsbsysinit /etc/cron.hourly; : > /var/cache/snooze/hourly"