From d1e4452a5da53d069b144b60e70d73a6bfece716 Mon Sep 17 00:00:00 2001 From: Enno Tensing Date: Sat, 26 Jul 2025 16:51:40 +0200 Subject: [PATCH] containerctl: Fix log_error() not logging a timestamp As ${TODAY} was forgotten, the first argument from ${@} was used as a timestamp instead, resulting in malformed log messages. Fix this by adding ${TDOAY} before ${@}. Signed-off-by: Enno Tensing --- containerctl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/containerctl b/containerctl index 2f2275f..c61c69d 100755 --- a/containerctl +++ b/containerctl @@ -9,7 +9,7 @@ LOG="${LOGDIR}/${TODAY}" log_error() { - printf '[%b] (EE) %b\n' "${@}" | tee -a "${LOG}" + printf '[%b] (EE) %b\n' "${TODAY}" "${@}" | tee -a "${LOG}" } list_dir()