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