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-monthly/run | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sv/snooze-monthly/run') 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" -- cgit 1.4.1