From 32855ed499d4dba05282ec3b93088eb88dc61805 Mon Sep 17 00:00:00 2001 From: Steven Hardy Date: Fri, 14 Dec 2012 09:49:31 +0000 Subject: [PATCH] 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 Change-Id: I1d9c51c43f9a2db0b50c4c95fc0a0e4505078c51 --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index f8331675e3..ef6d519f1b 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