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