bugfix in std::log(): do not append newline to format.

This commit is contained in:
2019-02-22 16:04:21 +01:00
parent 43a63f2967
commit b9c940600b
+2 -1
View File
@@ -5,9 +5,10 @@
#
std::log() {
local -ri fd=$1
local -r fmt="$2\n"
local -r fmt="$2"
shift 2
printf -- "$fmt" "$@" 1>&$fd
echo
}
std::info() {