V8.00.000.2025.06.17
Signed-off-by: Marc S. Weidner <msw@coresecret.dev>
This commit is contained in:
@@ -22,6 +22,8 @@ guard_sourcing
|
||||
# VAR_NOTES
|
||||
# Arguments:
|
||||
# 1: ${var_trap_on_exit_code} of trap_exit()
|
||||
# Returns:
|
||||
# 0: On success
|
||||
#######################################
|
||||
clean_up() {
|
||||
declare var_clean_exit_code="$1"
|
||||
@@ -36,5 +38,6 @@ clean_up() {
|
||||
### Remove the lockfile artifact.
|
||||
rm -f /run/lock/ciss_debian_installer.lock
|
||||
if (( var_clean_exit_code == 0 )); then rm -f -- "${LOG_ERR}"; fi
|
||||
return 0
|
||||
}
|
||||
# vim: number et ts=2 sw=2 sts=2 ai tw=128 ft=sh
|
||||
|
||||
Reference in New Issue
Block a user