|
|
@ -244,9 +244,7 @@ function dump_stderr { |
|
|
miaou_debug "<stderr count=${#tmp_error[@]}>" |
|
|
miaou_debug "<stderr count=${#tmp_error[@]}>" |
|
|
tty_ansi FG_LIGHTBLUE |
|
|
tty_ansi FG_LIGHTBLUE |
|
|
for i in "${tmp_error[@]}"; do |
|
|
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" |
|
|
echo "$i" |
|
|
done |
|
|
done |
|
|
tty_ansi RESET |
|
|
tty_ansi RESET |
|
|
@ -331,7 +329,7 @@ function load_tmp_error { |
|
|
if [[ $count_children == 0 ]]; then |
|
|
if [[ $count_children == 0 ]]; then |
|
|
miaou_debug "<tmp_error_children empty/>" |
|
|
miaou_debug "<tmp_error_children empty/>" |
|
|
else |
|
|
else |
|
|
miaou_debug "<tmp_error_children count=${count_children}>" |
|
|
|
|
|
|
|
|
miaou_debug "<tmp_error_children count=${count_children}/>" |
|
|
fi |
|
|
fi |
|
|
miaou_debug "</tmp_children>" |
|
|
miaou_debug "</tmp_children>" |
|
|
rm "$MIAOU_BASH_ERROR_CURRENT_CHILDREN" |
|
|
rm "$MIAOU_BASH_ERROR_CURRENT_CHILDREN" |
|
|
@ -361,9 +359,10 @@ function load_tmp_error { |
|
|
fi |
|
|
fi |
|
|
done |
|
|
done |
|
|
if [[ "${#multiple_errors[@]}" -gt 0 ]]; then |
|
|
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 |
|
|
for i in "${multiple_errors[@]}"; do unset "tmp_error[$i]"; done |
|
|
tmp_error=("${tmp_error[@]}") |
|
|
tmp_error=("${tmp_error[@]}") |
|
|
|
|
|
miaou_debug "<tmp_error count=${#tmp_error[@]} clean/>" |
|
|
fi |
|
|
fi |
|
|
|
|
|
|
|
|
miaou_debug "</tmp_error>" |
|
|
miaou_debug "</tmp_error>" |
|
|
|