Skip to content

Commit 193a4d1

Browse files
committed
Redirect echo to stderr
1 parent d3782db commit 193a4d1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

st2common/bin/st2-self-check

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ shift $(($OPTIND-1))
5757

5858
## Script to install samples, tests, and run all workflows in tests pack.
5959
if [[ `id -u` != 0 ]]; then
60-
echo "st2-self-check must be run as root"
60+
echo >&2 "st2-self-check must be run as root"
6161
exit 1
6262
fi
6363

@@ -89,7 +89,7 @@ git clone --depth 1 --branch ${ST2_TESTS_BRANCH} https://github.com/StackStorm/s
8989
EXIT_CODE=$?
9090

9191
if [ ${EXIT_CODE} -ne 0 ]; then
92-
echo "Failed to clone st2tests repo"
92+
echo >&2 "Failed to clone st2tests repo"
9393
exit 1
9494
fi
9595

0 commit comments

Comments
 (0)