From 95e577c0df154e421310154d82acc871bfa4f570 Mon Sep 17 00:00:00 2001 From: RandomNinjaAtk Date: Tue, 14 Jun 2022 15:37:11 -0400 Subject: [PATCH] Update start.sh --- root/scripts/start.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/root/scripts/start.sh b/root/scripts/start.sh index b70e541..721ac03 100644 --- a/root/scripts/start.sh +++ b/root/scripts/start.sh @@ -16,7 +16,7 @@ for (( ; ; )); do rm "/config/logs/log-cleanup" fi touch -d "8 hours ago" "/config/logs/log-cleanup" - if find "/config/logs" -type f -iname "extended_script_run_*.txt" -not -newer "/config/extended/logs/log-cleanup" | read; then + if find "/config/logs" -type f -iname "extended_script_run_*.txt" -not -newer "/config/logs/log-cleanup" | read; then find "/config/logs" -type f -iname "*.log" -not -newer "/config/logs/log-cleanup" -delete fi if [ -f "/config/logs/log-cleanup" ]; then