From a7ead9fde1dd81d8fda7c828d2518c4326a8857f Mon Sep 17 00:00:00 2001 From: "Andrew J. Hesford" Date: Fri, 22 Jan 2021 10:08:48 -0500 Subject: Use touch instead of shell truncation in service timefiles --- sv/snooze-daily/run | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sv/snooze-daily/run') 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" -- cgit 1.4.1