1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2025-01-24 07:41:05 +02:00

evaluate error messages (this way e.g. newlines can be passed)

This commit is contained in:
Mirko Vogt 2010-05-02 23:35:26 +02:00
parent 76a779fbfa
commit c8b4f9eb68

View File

@ -90,8 +90,8 @@ mkdir -p ${WORKING_DIR}
date > "${LOG_FILE}" # purge logfile if exists
function log() {
echo "$1"
echo "$1" >> "${LOG_FILE}"
echo -e "$1"
echo -e "$1" >> "${LOG_FILE}"
}
function abort() {