From f1462c38b734e3316029a9927840d91d8a79e2ad Mon Sep 17 00:00:00 2001 From: Igor Velkov Date: Fri, 8 Mar 2024 22:11:03 +0200 Subject: [PATCH] Display "repeat build options" at the end if process was cancelled --- lib/functions/logging/trap-logging.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/functions/logging/trap-logging.sh b/lib/functions/logging/trap-logging.sh index f27a1c7095f5..64809e307985 100644 --- a/lib/functions/logging/trap-logging.sh +++ b/lib/functions/logging/trap-logging.sh @@ -83,6 +83,8 @@ function trap_handler_cleanup_logging() { # Check if fd 13 is still open; close it and wait for tee to die. This is done again in discard_logs_tmp_dir() check_and_close_fd_13 + display_alert "Repeat Build Options" "${repeat_args[*]}" "ext" # * = expand array, space delimited, single-word. + # Export ANSI logs. local target_file="${target_path}/log-${ARMBIAN_LOG_CLI_ID}-${ARMBIAN_BUILD_UUID}.log.ans" export_ansi_logs