From 82fc9947f47bb287ca6961d337b27f6ffab614cd Mon Sep 17 00:00:00 2001 From: Zhong Lufan Date: Sat, 3 Feb 2024 21:28:58 +0800 Subject: [PATCH] Fix some error messages are not output to stderr --- AliyunOpenApiSDK.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AliyunOpenApiSDK.sh b/AliyunOpenApiSDK.sh index ced13e6..ad9e171 100755 --- a/AliyunOpenApiSDK.sh +++ b/AliyunOpenApiSDK.sh @@ -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