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

Unified Diff: common.sh

Issue 3160024: Make enter_chroot spew logs to stderr. (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 | enter_chroot.sh » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: common.sh
diff --git a/common.sh b/common.sh
index 6765c41f6468fa1554149714768107a963c6c9e9..9e55a9a1b04923d8ab469a5485a53156ec7c5c61 100644
--- a/common.sh
+++ b/common.sh
@@ -320,15 +320,15 @@ V_BOLD_RED="\e[1;31m"
V_BOLD_YELLOW="\e[1;33m"
function info {
- echo -e "${V_BOLD_GREEN}INFO : $1${V_VIDOFF}"
+ echo -e >&2 "${V_BOLD_GREEN}INFO : $1${V_VIDOFF}"
}
function warn {
- echo -e "${V_BOLD_YELLOW}WARNING: $1${V_VIDOFF}"
+ echo -e >&2 "${V_BOLD_YELLOW}WARNING: $1${V_VIDOFF}"
}
function error {
- echo -e "${V_BOLD_RED}ERROR : $1${V_VIDOFF}"
+ echo -e >&2 "${V_BOLD_RED}ERROR : $1${V_VIDOFF}"
}
function die {
« no previous file with comments | « no previous file | enter_chroot.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698