From 65da2a697f72fac29932abf4b1cb83f297a86f95 Mon Sep 17 00:00:00 2001 From: Ricardo Pardini Date: Tue, 3 Jan 2023 13:10:31 +0100 Subject: [PATCH] armbian-next: remove `@TODO` for stuff already done --- lib/functions/logging/traps.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/functions/logging/traps.sh b/lib/functions/logging/traps.sh index c3afa5124..9f0313bf5 100644 --- a/lib/functions/logging/traps.sh +++ b/lib/functions/logging/traps.sh @@ -111,7 +111,6 @@ function add_cleanup_handler() { function execute_and_remove_cleanup_handler() { local callback="$1" display_alert "Execute and remove cleanup handler" "${callback}" "cleanup" - # @TODO implement! loop over the list of cleanups; run the one that matches the callback; remove it from the list. local remaning_cleanups=() for one_cleanup_handler in "${trap_manager_cleanup_handlers[@]}"; do if [[ "${one_cleanup_handler}" != "${callback}" ]]; then