armbian-next: shellcheck: squash more shellcheck warnings; some long-lost variables being used; some unset's that are better reset's, etc

This commit is contained in:
Ricardo Pardini
2023-01-30 21:34:10 +01:00
parent 2767cf8fc2
commit 388c76c91b
6 changed files with 6 additions and 6 deletions

View File

@@ -211,7 +211,7 @@ function run_host_command_logged_raw() {
function logging_clear_run_command_error_info() {
# Unset those globals; they're only valid for the first invocation of a runner helper function after they're set.
unset if_error_detail_message
unset if_error_find_files_sdcard # remember, this is global.
declare -ag if_error_find_files_sdcard=() # declare as global, empty array
}
function logging_enrich_run_command_error_info() {