mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-24 07:01:13 +02:00
Print a newline after reading password in cros_download
BUG=none TEST=./cros_download_latest_image Review URL: http://codereview.chromium.org/3151013
This commit is contained in:
parent
a8ddd0bfdb
commit
5c2290cda4
@ -41,6 +41,7 @@ fi
|
|||||||
read -p "Username [${LOGNAME}]: " GSDCURL_USERNAME
|
read -p "Username [${LOGNAME}]: " GSDCURL_USERNAME
|
||||||
export GSDCURL_USERNAME
|
export GSDCURL_USERNAME
|
||||||
read -s -p "Password: " GSDCURL_PASSWORD
|
read -s -p "Password: " GSDCURL_PASSWORD
|
||||||
|
echo # ... because read -s didn't print a newline
|
||||||
export GSDCURL_PASSWORD
|
export GSDCURL_PASSWORD
|
||||||
|
|
||||||
LATEST_BUILD=$(bin/cros_gsdcurl.py -s $URL_PREFIX/LATEST)
|
LATEST_BUILD=$(bin/cros_gsdcurl.py -s $URL_PREFIX/LATEST)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user