Merge pull request #420 from shadowabi/master

Delete the condition that Tencent Cloud detection is liable to cause false positives
This commit is contained in:
cp 2024-04-08 11:30:14 +02:00 committed by GitHub
commit 5621c83110
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ check_aliyun_ecs () {
check_tencent_cvm () {
is_tencent_cvm="No"
if [ -f "/etc/cloud/cloud.cfg.d/05_logging.cfg" ] || grep -qi Tencent /etc/cloud/cloud.cfg; then
if grep -qi Tencent /etc/cloud/cloud.cfg; then
is_tencent_cvm="Yes"
fi
}