From b45add29f56571446e35f436eb297d033e75e5e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kov=C3=A1cs=20Zolt=C3=A1n?= Date: Sat, 25 Apr 2026 10:44:49 +0200 Subject: [PATCH] Fix: missing error message in rotate_logs script. --- .metadata | Bin 22487 -> 22487 bytes tools/rotate_logs | 7 +++++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.metadata b/.metadata index 36e3c485c3dfceef57906dc75a42e572de3116c7..b6e2d0b4be6f93feb614c7e686bc2f051f5f2179 100644 GIT binary patch delta 91 zcmcbaK4x5 h<^o;^aTJls2ZTf?D@aOB{=gzM*-wghGneXFBLJLS9jX8T delta 90 zcmcbm8E- diff --git a/tools/rotate_logs b/tools/rotate_logs index 33bd92c..91a160d 100755 --- a/tools/rotate_logs +++ b/tools/rotate_logs @@ -10,6 +10,8 @@ # Author: Kovács Zoltán # Kovács Zoltán # License: GNU/GPL v3+ (https://www.gnu.org/licenses/gpl-3.0.en.html) +# 2026-04-25 v1.3 +# fix: missing error message. # 2025-03-17 v1.2 # mod: rotates non-empty logs even if the service isn't running. # 2024-08-24 v1.1 @@ -21,9 +23,9 @@ # 2021-09-02 v0.1 Initial release # Accepted environment variables and their defaults. -PAR_BASEDIR=${PAR_BASEDIR:-""} # Service's base folder +PAR_BASEDIR=${PAR_BASEDIR:-""} # Service's base folder PAR_CONFDIR=${PAR_CONFDIR:-""} # Folder containing configs -PAR_LOGDIR=${PAR_LOGDIR:-""} # Folder containing logs +PAR_LOGDIR=${PAR_LOGDIR:-""} # Folder containing logs # Other initialisations. CONFDIR="configs" # Folder containing configs @@ -32,6 +34,7 @@ YMLFILE="docker-compose.yml" # Messages. MSG_MISSINGDEP="Fatal: missing dependency" +MSG_MISSINGYML="Fatal: didn't find the docker-compose.yml file" # Basic environment settings. LANG=C