about summary refs log tree commit diff
path: root/sv/snooze-monthly/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-monthly/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-monthly/run')
-rwxr-xr-xsv/snooze-monthly/run2
1 files changed, 1 insertions, 1 deletions
diff --git a/sv/snooze-monthly/run b/sv/snooze-monthly/run
index b83c500..bc6bffd 100755
--- a/sv/snooze-monthly/run
+++ b/sv/snooze-monthly/run
@@ -1,4 +1,4 @@
 #!/bin/sh
 mkdir -p /var/cache/snooze
 exec snooze -d 1 -s 28d -t /var/cache/snooze/monthly -- sh -c \
-	"test -d /etc/cron.monthly && run-parts --lsbsysinit /etc/cron.monthly; : > /var/cache/snooze/monthly"
+	"test -d /etc/cron.monthly && run-parts --lsbsysinit /etc/cron.monthly; touch /var/cache/snooze/monthly"