diff options
author | Steven Hardy <shardy@redhat.com> | 2012-12-14 09:49:31 +0000 |
---|---|---|
committer | Steven Hardy <shardy@redhat.com> | 2012-12-14 17:25:56 +0000 |
commit | 32855ed499d4dba05282ec3b93088eb88dc61805 (patch) | |
tree | 2eeb9dd6f47fd40ead8735f34d401a1076560238 /install.sh | |
parent | fc83066295b3a0afcee38f2dd79f8be4b0bedb6b (diff) | |
download | heat-32855ed499d4dba05282ec3b93088eb88dc61805.tar.gz |
install.sh non-root error should go to stderr
The non-root error should go to stderr like the other echo output
Signed-off-by: Steven Hardy <shardy@redhat.com>
Change-Id: I1d9c51c43f9a2db0b50c4c95fc0a0e4505078c51
Diffstat (limited to 'install.sh')
-rwxr-xr-x | install.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/install.sh b/install.sh index f8331675e..ef6d519f1 100755 --- a/install.sh +++ b/install.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 1 fi |