Browse Source

Update debug function

Remove double-echo; add enchanced otion for debug echo
pull/861/head
Maksim Gaidai 1 year ago
parent
commit
bb3eecfa4a
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      getssl

+ 1
- 2
getssl View File

@ -1293,8 +1293,7 @@ debug() { # write out debug info if the debug flag has been set
if [[ -n ${BATS_RUN_TMPDIR} ]]; then
echo "$(date "+%b %d %T") ${FUNCNAME[1]}:${BASH_LINENO[1]}" "$@"
else
echo " "
echo "$@"
echo -e "\n$@"
fi
fi
}


Loading…
Cancel
Save