mirror of
https://github.com/Hill-98/aliyun-openapi-bash-sdk.git
synced 2025-10-21 17:37:55 +08:00
Fix some error messages are not output to stderr
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user