V8.00.000.2025.06.17
All checks were successful
🛡️ Shell Script Linting / 🛡️ Shell Script Linting (push) Successful in 56s

Signed-off-by: Marc S. Weidner <msw@coresecret.dev>
This commit is contained in:
2025-08-08 22:33:52 +02:00
parent f2828a64de
commit 5276512bdc
3 changed files with 45 additions and 11 deletions

View File

@@ -25,8 +25,8 @@ guard_sourcing
#######################################
chroot_logger() {
declare -r var_logfile="$1"
: >| "${TARGET}${var_logfile}" || return "${ERR_CHROOT_LOGGER}"
chmod 0600 "${TARGET}${var_logfile}" || "${ERR_CHROOT_LOGGER}"
: >| "${var_logfile}" || return "${ERR_CHROOT_LOGGER}"
chmod 0600 "${var_logfile}" || "${ERR_CHROOT_LOGGER}"
return 0
}