Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7)

Unified Diff: cros_download_latest_image

Issue 3151013: Print a newline after reading password in cros_download (Closed) Base URL: ssh://gitrw.chromium.org/crosutils.git
Patch Set: Created 10 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cros_download_latest_image
diff --git a/cros_download_latest_image b/cros_download_latest_image
index f749d8fb6ff6f7104fe71b30c2a9f2d151af98cb..e8df4cd8f26d7d386dc5e68d22fd29bfca63f034 100755
--- a/cros_download_latest_image
+++ b/cros_download_latest_image
@@ -41,6 +41,7 @@ fi
read -p "Username [${LOGNAME}]: " GSDCURL_USERNAME
export GSDCURL_USERNAME
read -s -p "Password: " GSDCURL_PASSWORD
+echo # ... because read -s didn't print a newline
export GSDCURL_PASSWORD
LATEST_BUILD=$(bin/cros_gsdcurl.py -s $URL_PREFIX/LATEST)
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698