]> git.corax.cc Git - toolbox/commit
include/log: Log messages to the logfile AND stderr
authorMatthias Kruk <m@m10k.eu>
Tue, 23 Mar 2021 23:56:27 +0000 (08:56 +0900)
committerMatthias Kruk <m@m10k.eu>
Tue, 23 Mar 2021 23:56:27 +0000 (08:56 +0900)
commit9cb472f7779c9653a9e794dd2b39906fda3c183a
treea1857f39164cf1f93f876cbca356954d97b2ab3d
parenta436db03ce64edbe3e9750bcb5dee6737e55c427
include/log: Log messages to the logfile AND stderr

The log module only writes messages to the log file, which is not
enough for scripts that are running in the foreground. This commit
changes the log_write() function to log messages to the logfile as
well as to stderr.
include/log.sh