mirror of
https://github.com/Pmodules/Pmodules.git
synced 2026-06-30 03:09:40 +02:00
bugfix in std::log(): do not append newline to format.
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user