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
This commit is contained in:
parent
fc83066295
commit
32855ed499
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user