almost2
This commit is contained in:
+4
-5
@@ -244,9 +244,7 @@ function dump_stderr {
|
||||
miaou_debug "<stderr count=${#tmp_error[@]}>"
|
||||
tty_ansi FG_LIGHTBLUE
|
||||
for i in "${tmp_error[@]}"; do
|
||||
is_true "$CHILD_PROCESS" &&
|
||||
miaou_debug "<childerr content={$i}/>" ||
|
||||
miaou_debug "<mainerr content={$i}/>"
|
||||
is_true "$CHILD_PROCESS" && miaou_debug "<childerr content={$i}/>"
|
||||
echo "$i"
|
||||
done
|
||||
tty_ansi RESET
|
||||
@@ -331,7 +329,7 @@ function load_tmp_error {
|
||||
if [[ $count_children == 0 ]]; then
|
||||
miaou_debug "<tmp_error_children empty/>"
|
||||
else
|
||||
miaou_debug "<tmp_error_children count=${count_children}>"
|
||||
miaou_debug "<tmp_error_children count=${count_children}/>"
|
||||
fi
|
||||
miaou_debug "</tmp_children>"
|
||||
rm "$MIAOU_BASH_ERROR_CURRENT_CHILDREN"
|
||||
@@ -361,9 +359,10 @@ function load_tmp_error {
|
||||
fi
|
||||
done
|
||||
if [[ "${#multiple_errors[@]}" -gt 0 ]]; then
|
||||
miaou_debug "multiple_errors = ${multiple_errors[*]}"
|
||||
miaou_debug "<prune multiple_errors=(${multiple_errors[*]}) />"
|
||||
for i in "${multiple_errors[@]}"; do unset "tmp_error[$i]"; done
|
||||
tmp_error=("${tmp_error[@]}")
|
||||
miaou_debug "<tmp_error count=${#tmp_error[@]} clean/>"
|
||||
fi
|
||||
|
||||
miaou_debug "</tmp_error>"
|
||||
|
||||
Reference in New Issue
Block a user