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
|
for _aliapi_command in openssl curl; do
|
||||||
if ! command -v $_aliapi_command &> /dev/null; then
|
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
|
exit 127
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
Reference in New Issue
Block a user