From 84e951dc917a4c1e58eabe4227b5f9d196cf57e3 Mon Sep 17 00:00:00 2001 From: Brennan Kinney <5098581+polarathene@users.noreply.github.com> Date: Mon, 15 Jan 2024 19:53:16 +1300 Subject: [PATCH] lint: Appease the linting gods --- target/scripts/startup/setup-stack.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/target/scripts/startup/setup-stack.sh b/target/scripts/startup/setup-stack.sh index 8505bd93..f55cb548 100644 --- a/target/scripts/startup/setup-stack.sh +++ b/target/scripts/startup/setup-stack.sh @@ -27,8 +27,8 @@ function _setup_post() { # Dovecot `.svbin` files must have a newer mtime than their `.sieve` source files, # Modifications during setup to these files sometimes results in a common mtime value. # Handled during post-setup as setup of Dovecot Sieve scripts is not centralized. - find /usr/lib/dovecot/ -iname *.sieve -exec touch -d '2 seconds ago' {} + - find /usr/lib/dovecot/ -iname *.svbin -exec touch -d '1 seconds ago' {} + + find /usr/lib/dovecot/ -iname '*.sieve' -exec touch -d '2 seconds ago' {} + + find /usr/lib/dovecot/ -iname '*.svbin' -exec touch -d '1 seconds ago' {} + # All startup modifications to configs should have taken place before calling this: _prepare_for_change_detection