Skip to content

Commit

Permalink
debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
adrelanos committed Aug 18, 2023
1 parent 5203135 commit d490a85
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions usr/bin/dist-installer-cli
Original file line number Diff line number Diff line change
Expand Up @@ -2023,6 +2023,7 @@ set_trap(){
curr_shell="${shebang##*/}"
;;
esac
## TODO: This is not shown on CI.
log info "Current shell: '${curr_shell}'"
case "${curr_shell}" in
*bash|*ksh|*zsh)
Expand Down Expand Up @@ -3278,6 +3279,9 @@ log_term_and_file_bash(){

## Logging mechanism.
log_term_and_file(){
## Debugging.
log info "Current shell: '${curr_shell}'"

## Discover if terminal is attached to stdout
if ! test -t 1; then
log warn "Output is not being sent to the terminal because terminal is not connected to stdout."
Expand Down

0 comments on commit d490a85

Please sign in to comment.