]> git.corax.cc Git - toolbox/commit
include/log: Don't pass log message through date
authorMatthias Kruk <matthias.kruk@miraclelinux.com>
Thu, 20 May 2021 04:37:59 +0000 (13:37 +0900)
committerMatthias Kruk <matthias.kruk@miraclelinux.com>
Thu, 20 May 2021 04:37:59 +0000 (13:37 +0900)
commit2560f550a6a218caceaf77ece56e5cbcef35c045
treedd2381aff58c523de681875782a06d8f37952233
parent33ce6ef8b7358833b0afceddc20d877332f1c297
include/log: Don't pass log message through date

The log_write() function passes the log message through `date' to
prepend the timestamp to it. This causes problems when the message
contains format placeholders that are interpreted by date.
This commit changes the log_write() function not to pass the log
message and prefix through date.
include/log.sh