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:
parent
15214a198e
commit
b7facb3ff5
|
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue