Fix some error messages are not output to stderr
This commit is contained in:
parent
738adcb043
commit
82fc9947f4
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue