V8.00.000.2025.06.17
All checks were successful
🛡️ Shell Script Linting / 🛡️ Shell Script Linting (push) Successful in 1m54s
All checks were successful
🛡️ Shell Script Linting / 🛡️ Shell Script Linting (push) Successful in 1m54s
Signed-off-by: Marc S. Weidner <msw@coresecret.dev>
This commit is contained in:
@@ -15,9 +15,8 @@ guard_sourcing
|
||||
#######################################
|
||||
# Calculates total runtime of the CISS.debian.installer.
|
||||
# Globals:
|
||||
# VAR_END_TIME
|
||||
# SECONDS
|
||||
# VAR_SCRIPT_RUNTIME
|
||||
# VAR_START_TIME
|
||||
# Arguments:
|
||||
# None
|
||||
# Returns:
|
||||
@@ -33,4 +32,7 @@ calculate_runtime() {
|
||||
declare -grx VAR_SCRIPT_RUNTIME="$(printf "%02dh %02dm %02ds" "${var_hours}" "${var_minutes}" "${var_seconds}")"
|
||||
return 0
|
||||
}
|
||||
### Prevents accidental 'unset -f'.
|
||||
# shellcheck disable=SC2034
|
||||
readonly -f calculate_runtime
|
||||
# vim: number et ts=2 sw=2 sts=2 ai tw=128 ft=sh
|
||||
|
||||
Reference in New Issue
Block a user