no more stderr
This commit is contained in:
+2
-1
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user