about summary refs log tree commit diff
path: root/sv/snooze-weekly/run
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-weekly/run
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-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 0a6b849..ca12f86 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 \
-	"test -d /etc/cron.weekly && run-parts --lsbsysinit /etc/cron.weekly; : > /var/cache/snooze/weekly"
+	"test -d /etc/cron.weekly && run-parts --lsbsysinit /etc/cron.weekly; touch /var/cache/snooze/weekly"