V8.13.294.2025.10.28
All checks were successful
🛡️ Shell Script Linting / 🛡️ Shell Script Linting (push) Successful in 1m42s

Signed-off-by: Marc S. Weidner <msw@coresecret.dev>
This commit is contained in:
2025-10-28 13:39:37 +01:00
parent f00c8fd690
commit 1540036410
5 changed files with 21 additions and 5 deletions

View File

@@ -119,9 +119,12 @@ main() {
declare var_log="" var_mode=""
var_log="/root/.ciss/cdi/log/9999-cdi-starter_$(date +"%Y-%m-%d_%H-%M-%S").log"
touch "${var_log}"
### Prepare logging.
install -d -m 0700 /root/.ciss/cdi
install -d -m 0700 /root/.ciss/cdi/log
# shellcheck disable=SC2312
exec > >(tee -a "${var_log}") 2>&1