about summary refs log tree commit diff
path: root/sv/snooze-daily
diff options
context:
space:
mode:
authorAndrew J. Hesford <ajh@sideband.org>2021-01-22 10:08:48 -0500
committerLeah Neukirchen <leah@vuxu.org>2021-01-22 16:21:42 +0100
commita7ead9fde1dd81d8fda7c828d2518c4326a8857f (patch)
tree1307c9e1b329eddb0823434ab587730bd8850f9e /sv/snooze-daily
parent858876464609a0f744a01e89f21123ef16ae42af (diff)
downloadsnooze-a7ead9fde1dd81d8fda7c828d2518c4326a8857f.tar.gz
snooze-a7ead9fde1dd81d8fda7c828d2518c4326a8857f.tar.xz
snooze-a7ead9fde1dd81d8fda7c828d2518c4326a8857f.zip
Use touch instead of shell truncation in service timefiles
Diffstat (limited to 'sv/snooze-daily')
-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 ee629a7..e563b20 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 \
-	"test -d /etc/cron.daily && run-parts --lsbsysinit /etc/cron.daily; : > /var/cache/snooze/daily"
+	"test -d /etc/cron.daily && run-parts --lsbsysinit /etc/cron.daily; touch /var/cache/snooze/daily"