When printing prompt to ask users to confirm formatting of a card do
not print new line character after the message so users type their
response on the same line.
Change-Id: Ic53fcdd3b8ae3b4fe2c4259ab8e199f2fcc1bb2d
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
if [ "$FORMAT" == "1" ]; then
echo ""
- echo "$(tput setaf 3)$(tput bold)$DEVICE will be formatted, Is it OK? [y/<n>]"
+ echo -n "$(tput setaf 3)$(tput bold)$DEVICE will be formatted, Is it OK? [y/<n>] "
tput sgr 0
read input
if [ "$input" == "y" ] || [ "$input" == "Y" ]; then