diff --git a/linPEAS/builder/linpeas_parts/functions/check_tencent_cvm.sh b/linPEAS/builder/linpeas_parts/functions/check_tencent_cvm.sh index 73538562..0b78b4f8 100644 --- a/linPEAS/builder/linpeas_parts/functions/check_tencent_cvm.sh +++ b/linPEAS/builder/linpeas_parts/functions/check_tencent_cvm.sh @@ -16,7 +16,7 @@ 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 } \ No newline at end of file