Fix some error messages are not output to stderr

This commit is contained in:
Zhong Lufan 2024-02-03 21:28:58 +08:00
parent 738adcb043
commit 82fc9947f4
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@
for _aliapi_command in openssl curl; do
if ! command -v $_aliapi_command &> /dev/null; then
echo "Aliyun OpenAPI SDK: $_aliapi_command command not found"
echo "Aliyun OpenAPI SDK: $_aliapi_command command not found" >&2
exit 127
fi
done