cros_workon: fix common.sh check
Error message not necessary since you already get an error message from bash.
BUG=none
TEST=see below
$ ./cros_workon
./cros_workon: line 13: /usr/lib/crosutils/common.sh: No such file or directory
$ ./cros_workon_make
./cros_workon_make: line 10: /usr/lib/crosutils/common.sh: No such file or directory
Change-Id: I2087d77876376af9ccb497d0a67c354af281c007
[email protected],[email protected]
Review URL: http://codereview.chromium.org/6726039
diff --git a/host/cros_workon_make b/host/cros_workon_make
index 7d69e9a..04866b3 100755
--- a/host/cros_workon_make
+++ b/host/cros_workon_make
@@ -7,7 +7,7 @@
# Simple wrapper script to build a cros_workon package incrementally.
# You must already be cros_workon'ing the package in question.
-. /usr/lib/crosutils/common.sh || (echo "Unable to load common.sh" && exit 1)
+. /usr/lib/crosutils/common.sh || exit 1
get_default_board