no more stderr

This commit is contained in:
pvincent
2026-08-16 10:02:24 +04:00
parent e00855e296
commit 3abbfd976a
9 changed files with 43 additions and 21 deletions
+2 -1
View File
@@ -641,6 +641,7 @@ function parse_options {
builtin exit
;;
--initiate)
#TODO: remove, self_upgrade does it anyway
initiate
builtin exit
;;
@@ -694,7 +695,7 @@ else
[[ -t 2 ]] && MAIN_FD_STDERR=false || MAIN_FD_STDERR=true
exec 4>/dev/tty
fi
exec 3>/dev/stderr 2>"$MIAOU_BASH_ERROR"
exec 3>&2 2>"$MIAOU_BASH_ERROR"
miaou_debug "<main file=$BASH_ARGV0 pid=${BASHPID}/>"
fi