diff options
author | ricolin <rico.l@inwinstack.com> | 2015-11-27 09:23:13 +0800 |
---|---|---|
committer | Rico Lin <rico.l@inwinstack.com> | 2016-01-17 05:20:40 +0000 |
commit | bb9d34c33f9f16e792f7ff60d7d3ae890ab626b2 (patch) | |
tree | 352eeff823f19b3784e93b1fd210259faadc35b4 /uninstall.sh | |
parent | b445f42ff0396221c1de5abb88884e20c4213b0f (diff) | |
download | heat-bb9d34c33f9f16e792f7ff60d7d3ae890ab626b2.tar.gz |
use stderr for error echo message
Some echo message contain error or warning message which better be contain in
stderr. And futher more some error message already contain in stderr, but for
error message reader, the following information for that echo should be
contained as well.
Change-Id: I2aac631df19829218d446150c91cf6d50aa5e7e7
Diffstat (limited to 'uninstall.sh')
-rwxr-xr-x | uninstall.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/uninstall.sh b/uninstall.sh index e9e09f1c8..bce10951c 100755 --- a/uninstall.sh +++ b/uninstall.sh @@ -1,7 +1,7 @@ #!/bin/bash if [ $EUID -ne 0 ]; then - echo "This script must be run as root." + echo "This script must be run as root." >&2 exit fi @@ -18,4 +18,4 @@ if [ $have_pip -eq 1 ]; then fi echo "pip-python not found. install package (probably python-pip) or run -'easy_install pip', then rerun $0"; +'easy_install pip', then rerun $0" >&2; |