mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
lib: fix: replace undue export statements with declare -g
This commit is contained in:
committed by
Igor Pečovnik
parent
77921725fb
commit
ed0b406265
@@ -77,7 +77,7 @@ function main_trap_handler() {
|
||||
fi
|
||||
|
||||
if [[ ${trap_exit_code} -gt 0 ]] && [[ "${ERROR_DEBUG_SHELL}" == "yes" ]]; then
|
||||
export ERROR_DEBUG_SHELL=no # dont do it twice
|
||||
declare -g ERROR_DEBUG_SHELL=no # dont do it twice
|
||||
display_alert "MOUNT" "${MOUNT}" "debug"
|
||||
display_alert "SDCARD" "${SDCARD}" "debug"
|
||||
display_alert "ERROR_DEBUG_SHELL=yes, starting a shell." "ERROR_DEBUG_SHELL; exit to cleanup." "debug"
|
||||
|
||||
Reference in New Issue
Block a user