The echo command returns 1 if the UART is turned off.
The last statement of the log function is echo, so it returns 1 if the
UART was turned off.
Because of the above, fota mode booting failed when the UART was turned off.
Change-Id: I9286ae4c54415a6385741454c3d66bd42689d65d
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
(cherry picked from commit
0811572586cadac99ae287a46f470690fbe5ef88)
echo "$LOG" >> "$2"
fi
echo "$LOG"
+
+ return 0
}
#------------------------------------------------
echo "$LOG" >> "$2"
fi
echo "$LOG"
+
+ return 0
}
function info {