diff options
Diffstat (limited to 'sv/snooze-hourly/run')
-rwxr-xr-x | sv/snooze-hourly/run | 2 |
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" |