recovery init: log messages to the stderr instead of to stdout

Signed-off-by: Tatiana Leon <tatiana.leon@digi.com>
This commit is contained in:
Tatiana Leon 2017-04-11 14:04:22 +02:00
parent 15214a198e
commit b7facb3ff5
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ REBOOT_TIME=10
# @param ${1} - Text to print. # @param ${1} - Text to print.
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
log() { log() {
echo "[RECOVERY] ${1}" echo "[RECOVERY] ${1}" 1>&2
} }
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------