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

Unified Diff: cros_download_latest_image

Issue 3110040: Make cros_download_latest_image echo its newline to stderr (Closed) Base URL: http://src.chromium.org/git/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 e8df4cd8f26d7d386dc5e68d22fd29bfca63f034..b3abaf80041d9e15bb60b90b1c3ccd057be104bc 100755
--- a/cros_download_latest_image
+++ b/cros_download_latest_image
@@ -41,7 +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
+echo >&2 # ... 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