Browse Source

fix warn

main
pvincent 2 weeks ago
parent
commit
8753ba2dcc
  1. 3
      poc

3
poc

@ -234,8 +234,7 @@ trap 'on_error $?' ERR
trap 'on_exit $?' EXIT
trap 'on_pipe' PIPE
# exec 4>/dev/tty
[[ -e /proc/$$/fd/3 ]] && exec 4>&3 3>&- || exec 4>/dev/tty
if [[ -e /proc/$$/fd/3 ]]; then exec 4>&3 3>&-; else exec 4>/dev/tty; fi
exec 3>/dev/stderr 2>"$MIAOU_BASH_ERROR"
miaou_debug "<source from=$BASH_ARGV0 pid=${BASHPID}>"

Loading…
Cancel
Save